mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
fix r2553 gtk hiccup: use the `select all' stock icon iff gtk+ >= 2.10
This commit is contained in:
parent
d209052051
commit
cd3d2e1035
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ static void action_cb ( GtkAction * a, gpointer user_data )
|
||||||
#define GTK_STOCK_INFO GTK_STOCK_PROPERTIES
|
#define GTK_STOCK_INFO GTK_STOCK_PROPERTIES
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !GTK_CHECK_VERSION(2,10,0)
|
||||||
|
#define GTK_STOCK_SELECT_ALL NULL
|
||||||
|
#endif
|
||||||
|
|
||||||
static GtkRadioActionEntry priority_toggle_entries[] =
|
static GtkRadioActionEntry priority_toggle_entries[] =
|
||||||
{
|
{
|
||||||
{ "priority-high", NULL, N_("_High"), NULL, NULL, TR_PRI_HIGH },
|
{ "priority-high", NULL, N_("_High"), NULL, NULL, TR_PRI_HIGH },
|
||||||
|
|
Loading…
Reference in a new issue