Changeset 9602


Ignore:
Timestamp:
Nov 27, 2009, 2:55:52 PM (12 years ago)
Author:
charles
Message:

(trunk gtk) #2616: "for the ratio mode button, use the yin/yang icon submitted by jimmac"

Location:
trunk/gtk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/actions.c

    r9555 r9602  
    1212
    1313#include <string.h>
     14
    1415#include <glib/gi18n.h>
    1516#include <gtk/gtk.h>
     17
    1618#include <libtransmission/transmission.h>
     19
    1720#include "actions.h"
    1821#include "conf.h"
     
    2023#include "tr-prefs.h"
    2124#include "lock.h"
     25
    2226#include "logo.h"
     27#include "ratio-icon.h"
    2328#include "options-icon.h"
    2429#include "turtles.h"
     
    142147    { options_icon, "options"           },
    143148    { blue_turtle,  "alt-speed-on"      },
    144     { grey_turtle,  "alt-speed-off"     }
     149    { grey_turtle,  "alt-speed-off"     },
     150    { ratio_icon,   "ratio"             }
    145151};
    146152
  • trunk/gtk/tr-window.c

    r9580 r9602  
    961961
    962962        p->alt_speed_image[0] = gtk_image_new_from_stock( "alt-speed-off", -1 );
    963         p->alt_speed_image[1]  = gtk_image_new_from_stock( "alt-speed-on", -1 );
     963        p->alt_speed_image[1] = gtk_image_new_from_stock( "alt-speed-on", -1 );
    964964        w = p->alt_speed_button = gtk_toggle_button_new( );
    965965        gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
     
    998998            gtk_box_pack_start( GTK_BOX( hbox ), w, FALSE, FALSE, 0 );
    999999            w = gtk_button_new( );
    1000             gtk_container_add( GTK_CONTAINER( w ), gtk_image_new_from_stock( GTK_STOCK_REFRESH, GTK_ICON_SIZE_MENU ) );
     1000            gtk_container_add( GTK_CONTAINER( w ), gtk_image_new_from_stock( "ratio", GTK_ICON_SIZE_SMALL_TOOLBAR ) );
    10011001            gtk_button_set_relief( GTK_BUTTON( w ), GTK_RELIEF_NONE );
    10021002            g_signal_connect( w, "clicked", G_CALLBACK( onYinYangReleased ), p );
Note: See TracChangeset for help on using the changeset viewer.