Jens Granseuer
29c6ddb8cc
surivive XRandR returning weird results for some dual-screen setups. This
...
2007-05-22 Jens Granseuer <jensgr@gmx.net>
* main.c: (get_current_resolution): surivive XRandR returning weird
results for some dual-screen setups. This fixes the crash in bug
#356520 , but a proper fix for handling this situation is still
necessary, unless this is just a driver/X bug...
svn path=/trunk/; revision=7646
2007-05-22 17:46:43 +00:00
Sergey V. Udaltsov
f8aa7cb87b
properly building gobject
...
svn path=/trunk/; revision=7640
2007-05-19 13:36:22 +00:00
Jens Granseuer
8e4cd52704
don't call gconf_value_free with a NULL value
...
2007-05-19 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_tree_view_widget_changed):
don't call gconf_value_free with a NULL value
svn path=/trunk/; revision=7638
2007-05-19 12:46:42 +00:00
Sergey V. Udaltsov
23839961ae
make things buildable with libxklavier 3.2
...
svn path=/trunk/; revision=7637
2007-05-19 11:27:06 +00:00
Jens Granseuer
9bc2394d4e
add a property editor for GtkTreeView and fix crashes with all peditors if
...
2007-05-18 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_boolean_value_changed),
(peditor_integer_value_changed), (peditor_string_value_changed),
(peditor_color_value_changed), (peditor_select_menu_value_changed),
(peditor_combo_box_value_changed),
(peditor_select_radio_value_changed),
(peditor_numeric_range_value_changed),
(peditor_font_value_changed), (peditor_image_value_changed),
(gconf_peditor_new_select_radio_with_enum),
(peditor_tree_view_value_changed),
(peditor_tree_view_widget_changed), (gconf_peditor_new_tree_view):
* gconf-property-editor.h: add a property editor for GtkTreeView
and fix crashes with all peditors if the requested key is not
available
svn path=/trunk/; revision=7636
2007-05-18 18:55:39 +00:00
Sergey V. Udaltsov
a0b8e6e3e2
Adding optional vendor combo
...
svn path=/trunk/; revision=7634
2007-05-17 22:23:00 +00:00
Jens Granseuer
dae1952805
minor cleanup and getting rid of unnecessary casts
...
2007-05-16 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (prepare_combo), (find_string_in_model),
(conv_to_widget_cb), (conv_from_widget_cb),
(update_color_buttons_from_string), (color_button_clicked_cb):
minor cleanup and getting rid of unnecessary casts
svn path=/trunk/; revision=7628
2007-05-16 16:48:59 +00:00
Denis Washington
c5b68b203c
Minor code cleanup.
...
* appearance-desktop.c: (desktop_init): Minor code cleanup.
svn path=/trunk/; revision=7627
2007-05-16 16:35:28 +00:00
Denis Washington
c2ac13ab3b
re-enable drag-and-drop for the wallpaper list.
...
* appearance-desktop.c: (desktop_init): re-enable drag-and-drop for the
wallpaper list.
svn path=/trunk/; revision=7626
2007-05-16 16:15:45 +00:00
Jens Granseuer
5d5877c4f4
fix button order, remove redundant receives_default, don't mark stock
...
2007-05-14 Jens Granseuer <jensgr@gmx.net>
* appearance.glade: fix button order, remove redundant receives_default,
don't mark stock labels translatable, and other minor cleanups
svn path=/trunk/; revision=7622
2007-05-14 17:58:01 +00:00
Thomas Wood
045ad61172
Connect up colour scheme monitor. Hide window on delete, rather than
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-style.c: (prepare_combo): Connect up colour scheme monitor. Hide
window on delete, rather than destroy. Add an item to the theme lists if the
current theme is not present already.
* appearance-themes.c: (theme_custom_cb): Add missing #include. Moved some
code to appearance-style.c
svn path=/trunk/; revision=7620
2007-05-13 21:26:03 +00:00
Thomas Wood
64c8cbba68
Sort the items in the theme lists
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-style.c: (prepare_combo): Sort the items in the theme lists
svn path=/trunk/; revision=7619
2007-05-13 20:24:14 +00:00
Jens Granseuer
91e5a65efa
unref the thumbnail when we're done with it
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (theme_thumbnail_func): unref the thumbnail when
we're done with it
svn path=/trunk/; revision=7618
2007-05-13 19:33:50 +00:00
Thomas Wood
0b671b7b69
Don't free data we don't own. Prevents crash when changing themes.
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-themes.c: (theme_thumbnail_func): Don't free data we don't own.
Prevents crash when changing themes.
svn path=/trunk/; revision=7617
2007-05-13 19:30:35 +00:00
Jens Granseuer
fc7b01eb53
fix asynchronous thumbnail generation
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init), (theme_thumbnail_generate),
(theme_thumbnail_func): fix asynchronous thumbnail generation
svn path=/trunk/; revision=7616
2007-05-13 19:12:37 +00:00
Thomas Wood
2717cd85e6
Add colour scheme functions
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-style.c: Add colour scheme functions
svn path=/trunk/; revision=7615
2007-05-13 18:23:12 +00:00
Jens Granseuer
3f22b2e8b3
fix duplicate mnemonic
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance.glade: fix duplicate mnemonic
svn path=/trunk/; revision=7614
2007-05-13 16:59:24 +00:00
Jens Granseuer
916f12d16e
refix button name, too
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init): refix button name, too
svn path=/trunk/; revision=7613
2007-05-13 16:55:14 +00:00
Jens Granseuer
d693498c6f
fix gcc 2 build again (bad thos)
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init): fix gcc 2 build again (bad thos)
svn path=/trunk/; revision=7612
2007-05-13 16:35:57 +00:00
Jens Granseuer
2e4c1f2e64
use predefined GTK constants for reponse ids
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (appearance_window_response):
* appearance.glade: use predefined GTK constants for reponse ids
svn path=/trunk/; revision=7611
2007-05-13 16:26:33 +00:00
Thomas Wood
a0e3a8b48d
Use asynchronous methods to generate thumbnails.
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-themes.c: (themes_init), (theme_changed_func): Use asynchronous
methods to generate thumbnails.
svn path=/trunk/; revision=7610
2007-05-13 16:21:54 +00:00
Jens Granseuer
55f1e82094
now we parse the entire glade file at startup, there's no need to reparse
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance-font.c: (cb_details_response), (cb_show_details):
now we parse the entire glade file at startup, there's no need to
reparse it for the font details dialog
svn path=/trunk/; revision=7609
2007-05-13 16:20:17 +00:00
Jens Granseuer
150a7cdbf6
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
2007-05-13 15:59:00 +00:00
Jens Granseuer
ab26956b2e
don't leak the WPItems
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* gnome-wp-item.c: (gnome_wp_item_free): don't leak the WPItems
svn path=/trunk/; revision=7607
2007-05-13 15:41:30 +00:00
Thomas Wood
33aded2641
- Sort metathemes icon view - Apply theme on selection change - Use theme
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-themes.c: (themes_init), (theme_changed_func),
(theme_selection_changed_cb), (theme_custom_cb):
- Sort metathemes icon view
- Apply theme on selection change
- Use theme name rather than display name to apply theme
svn path=/trunk/; revision=7606
2007-05-13 15:37:13 +00:00
Thomas Wood
ff9e869641
Move style tab into new window
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance-main.c: (init_appearance_data):
* appearance-themes.c: (themes_init), (theme_activated_cb):
* appearance.glade:
Move style tab into new window
svn path=/trunk/; revision=7605
2007-05-13 15:20:18 +00:00
Denis Washington
b0c19d8242
fixed a small mistake in Jens' last commit.
...
* appearance.glade: fixed a small mistake in Jens' last commit.
svn path=/trunk/; revision=7604
2007-05-13 15:00:15 +00:00
Jens Granseuer
a729c6ff0f
fix font rendering button group assignment, rename Preferences tab to
...
2007-05-13 Jens Granseuer <jensgr@gmx.net>
* appearance.glade: fix font rendering button group assignment,
rename Preferences tab to Interface
svn path=/trunk/; revision=7603
2007-05-13 14:46:29 +00:00
Denis Washington
4bc56320e3
Made thumbnails in Desktop tab a bit smaller.
...
* gnome-wp-item.c: Made thumbnails in Desktop tab a bit smaller.
svn path=/trunk/; revision=7602
2007-05-13 14:15:51 +00:00
Thomas Wood
5562ed15ea
Change "Desktop" tab label to "Background"
...
2007-05-13 Thomas Wood <thos@gnome.org>
* appearance.glade: Change "Desktop" tab label to "Background"
svn path=/trunk/; revision=7601
2007-05-13 14:05:22 +00:00
Denis Washington
6631bcb878
Changed the icon view's selection mode to GTK_SELECTION_BROWSE, fixed
...
* appearance-desktop.c: Changed the icon view's selection mode to
GTK_SELECTION_BROWSE, fixed scrolling to the currently active background
after the icon view is realized, and two other minor fixes.
svn path=/trunk/; revision=7599
2007-05-12 13:30:05 +00:00
Denis Washington
166cc28035
gtk_icon_view_set_cursor() => gtk_icon_view_select_path()
...
* appearance-desktop.c: (wp_remove_wallpaper):
gtk_icon_view_set_cursor() => gtk_icon_view_select_path()
svn path=/trunk/; revision=7598
2007-05-12 11:29:58 +00:00
Denis Washington
63851865b7
Fix for my last commit so there is no double free when the Help button has
...
* appearance.glade:
* appearance-desktop.c: (wp_tree_delete_event):
Fix for my last commit so there is no double free when the Help button
has been clicked.
svn path=/trunk/; revision=7597
2007-05-12 11:25:30 +00:00
Jens Granseuer
7f2ef38448
fix secondary color picker being ignored and initial dialog state when no
...
2007-05-12 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (wp_scale_type_changed),
(wp_color_changed), (wp_props_wp_set), (wp_props_wp_selected),
(wp_load_stuffs): fix secondary color picker being ignored and initial
dialog state when no wallpaper is selected
svn path=/trunk/; revision=7596
2007-05-11 23:22:03 +00:00
Jens Granseuer
6670dd1029
move some strings to glade file, don't leak the file selector, plus a few
...
2007-05-12 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (get_selected_item),
(wp_tree_delete_event), (wp_update_preview), (desktop_init):
* appearance.glade: move some strings to glade file, don't leak the
file selector, plus a few minor beautifications
svn path=/trunk/; revision=7595
2007-05-11 22:04:03 +00:00
Denis Washington
8e26b48607
Fix the background list not being saved when closing the capplet window.
...
* appearance-desktop.c: (desktop_init):
Fix the background list not being saved when closing the capplet window.
svn path=/trunk/; revision=7594
2007-05-11 19:28:15 +00:00
Denis Washington
3a908d7a99
Replace the background treeview with an icon view that only shows the
...
* appearance.h:
* appearance-desktop.c:
* appearance.glade:
* gnome-wp-item.c:
* Makefile.am:
* wp-cellrenderer.[ch]:
Replace the background treeview with an icon view that only shows the
thumbnails. Tooltips are to be done.
svn path=/trunk/; revision=7593
2007-05-10 16:31:18 +00:00
Jens Granseuer
6262a9fb4f
change Open button label to Install...
...
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init):
* appearance.glade: change Open button label to Install...
svn path=/trunk/; revision=7591
2007-05-09 20:34:25 +00:00
Jens Granseuer
9b3abdb95d
make sure that appearance.h (and thereby config.h) is included first;
...
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: make sure that appearance.h (and thereby config.h)
is included first; constify strings
* gnome-wp-xml.c: (gnome_wp_xml_load_xml): fix leak
svn path=/trunk/; revision=7590
2007-05-09 19:50:39 +00:00
Jens Granseuer
60bf46d133
fix memory leaks
...
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_read_meta_theme):
* gtkrc-utils.c: (gtkrc_find_named), (gtkrc_get_color_scheme): fix
memory leaks
* gnome-theme-test.c: (main): init g_thread
svn path=/trunk/; revision=7589
2007-05-09 19:48:03 +00:00
Jens Granseuer
d3cad0bcbe
constify a number of function arguments
...
2007-05-09 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (gconf_peditor_new),
(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
(gconf_peditor_new_integer), (gconf_peditor_new_string_valist),
(gconf_peditor_new_string), (gconf_peditor_new_filename),
(gconf_peditor_new_color), (gconf_peditor_new_select_menu),
(gconf_peditor_new_select_menu_with_enum),
(gconf_peditor_new_combo_box),
(gconf_peditor_new_combo_box_with_enum),
(gconf_peditor_new_select_radio),
(gconf_peditor_new_numeric_range), (gconf_peditor_new_font),
(gconf_peditor_new_enum_toggle), (gconf_peditor_new_image),
(gconf_peditor_new_select_radio_with_enum):
* gconf-property-editor.h: constify a number of function arguments
svn path=/trunk/; revision=7588
2007-05-09 18:52:47 +00:00
Denis Washington
a49ff5cf17
Set mnemonic widgets for the labels in the Desktop tab.
...
* appearance.glade:
Set mnemonic widgets for the labels in the Desktop tab.
svn path=/trunk/; revision=7582
2007-05-08 14:47:18 +00:00
Jens Granseuer
f51b1f9dea
port from deprecated GtkOptionMenu to GtkComboBox
...
2007-05-08 Jens Granseuer <jensgr@gmx.net>
* gnome-mouse-properties.c: (cursor_size_from_widget),
(setup_dialog):
* gnome-mouse-properties.glade: port from deprecated GtkOptionMenu to
GtkComboBox
svn path=/trunk/; revision=7575
2007-05-07 22:31:51 +00:00
Thomas Wood
b0ea25cd5c
Remove some unnecessary code.
...
2007-05-07 Thomas Wood <thos@gnome.org>
* appearance-style.c: (conv_to_widget_cb), (prepare_combo): Remove some
unnecessary code.
svn path=/trunk/; revision=7574
2007-05-07 22:29:37 +00:00
Jens Granseuer
8ae230b9ae
add support for unsetting GConf values if the conversion handlers return
...
2007-05-08 Jens Granseuer <jensgr@gmx.net>
* gconf-property-editor.c: (peditor_set_gconf_value),
(peditor_combo_box_widget_changed):
add support for unsetting GConf values if the conversion handlers return
null, and use it for the combo box editor
svn path=/trunk/; revision=7573
2007-05-07 22:28:48 +00:00
Thomas Wood
21b005ca5f
Fix icon theme combo box
...
2007-05-07 Thomas Wood <thos@gnome.org>
* appearance-style.c: (prepare_combo): Fix icon theme combo box
svn path=/trunk/; revision=7572
2007-05-07 22:18:48 +00:00
Thomas Wood
679410b323
Use GConfPropertyEditor for theme combo boxes
...
2007-05-07 Thomas Wood <thos@gnome.org>
* appearance-style.c: (prepare_combo): Use GConfPropertyEditor for theme
combo boxes
svn path=/trunk/; revision=7571
2007-05-07 22:00:05 +00:00
Thomas Wood
88c4cb5314
- Add files for Style tab - Implement changing gtk and metacity themes
...
2007-05-07 Thomas Wood <thos@gnome.org>
* Makefile.am:
* appearance-main.c: (main):
* appearance-style.c:
* appearance-style.h:
- Add files for Style tab
- Implement changing gtk and metacity themes
* appearance.glade: Change "Themes" to "Theme" and name some widgets
svn path=/trunk/; revision=7570
2007-05-07 19:09:24 +00:00
Denis Washington
5a4c409418
Changed "Add" button in Desktop tab to "Add...".
...
* appearance.glade:
* appearance-desktop.c: (desktop_init):
Changed "Add" button in Desktop tab to "Add...".
svn path=/trunk/; revision=7569
2007-05-07 18:22:01 +00:00
Thomas Wood
ad9086bde7
- Change GtkWindow to GtkDialog - Add Help and Close buttons - Set theme
...
2007-05-07 Thomas Wood <thos@gnome.org>
* appearance-main.c: (main):
* appearance.glade:
- Change GtkWindow to GtkDialog
- Add Help and Close buttons
- Set theme list scrolling policy to automatic
svn path=/trunk/; revision=7568
2007-05-07 17:19:34 +00:00