update button name, declare variables at beginning of block fix button
2007-05-13 Jens Granseuer <jensgr@gmx.net> * appearance-themes.c: (themes_init): update button name, declare variables at beginning of block * appearance.glade: fix button group assignment (again) svn path=/trunk/; revision=7608
This commit is contained in:
parent
ab26956b2e
commit
150a7cdbf6
3 changed files with 10 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-05-13 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* appearance-themes.c: (themes_init): update button name, declare
|
||||||
|
variables at beginning of block
|
||||||
|
* appearance.glade: fix button group assignment (again)
|
||||||
|
|
||||||
2007-05-13 Jens Granseuer <jensgr@gmx.net>
|
2007-05-13 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* gnome-wp-item.c: (gnome_wp_item_free): don't leak the WPItems
|
* gnome-wp-item.c: (gnome_wp_item_free): don't leak the WPItems
|
||||||
|
|
|
@ -45,6 +45,7 @@ themes_init (AppearanceData *data)
|
||||||
GtkWidget *w;
|
GtkWidget *w;
|
||||||
GList *theme_list, *l;
|
GList *theme_list, *l;
|
||||||
GtkListStore *theme_store;
|
GtkListStore *theme_store;
|
||||||
|
GtkTreeModel *sort_model;
|
||||||
|
|
||||||
/* initialise some stuff */
|
/* initialise some stuff */
|
||||||
gnome_theme_init (NULL);
|
gnome_theme_init (NULL);
|
||||||
|
@ -82,11 +83,11 @@ themes_init (AppearanceData *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
w = glade_xml_get_widget (data->xml, "theme_list");
|
w = glade_xml_get_widget (data->xml, "theme_list");
|
||||||
GtkTreeModel *sort_model = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (theme_store));
|
sort_model = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (theme_store));
|
||||||
gtk_icon_view_set_model (GTK_ICON_VIEW (w), GTK_TREE_MODEL (sort_model));
|
gtk_icon_view_set_model (GTK_ICON_VIEW (w), GTK_TREE_MODEL (sort_model));
|
||||||
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model), THEME_DISPLAY_NAME_COLUMN, GTK_SORT_ASCENDING);
|
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (sort_model), THEME_DISPLAY_NAME_COLUMN, GTK_SORT_ASCENDING);
|
||||||
|
|
||||||
w = glade_xml_get_widget (data->xml, "theme_open");
|
w = glade_xml_get_widget (data->xml, "theme_install");
|
||||||
gtk_button_set_image (GTK_BUTTON (w),
|
gtk_button_set_image (GTK_BUTTON (w),
|
||||||
gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON));
|
gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1175,7 +1175,6 @@ Vertical gradient</property>
|
||||||
<property name="label" translatable="yes">_Monochrome</property>
|
<property name="label" translatable="yes">_Monochrome</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="draw_indicator">True</property>
|
<property name="draw_indicator">True</property>
|
||||||
<property name="group">monochrome_radio</property>
|
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
@ -1282,6 +1281,7 @@ Vertical gradient</property>
|
||||||
<property name="label" translatable="yes">Sub_pixel smoothing (LCDs)</property>
|
<property name="label" translatable="yes">Sub_pixel smoothing (LCDs)</property>
|
||||||
<property name="use_underline">True</property>
|
<property name="use_underline">True</property>
|
||||||
<property name="draw_indicator">True</property>
|
<property name="draw_indicator">True</property>
|
||||||
|
<property name="group">monochrome_radio</property>
|
||||||
</widget>
|
</widget>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue