Commit graph

29 commits

Author SHA1 Message Date
Jens Granseuer
3bb830b0ac add a shortcut to the user's special Pictures folder to the file chooser
2007-07-31  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_file_open_dialog), (desktop_init):
	* appearance.h: add a shortcut to the user's special Pictures folder to
	the file chooser and default to it (bug #461093), and reduce casting

svn path=/trunk/; revision=7941
2007-07-31 21:15:02 +00:00
Denis Washington
11cd98e2d1 Don't store the cell renderer in AppearanceData, it is only needed by
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* appearance.h:
	* appearance-desktop.c: (desktop_init):
	Don't store the cell renderer in AppearanceData, it is only needed by
	desktop_init().

svn path=/trunk/; revision=7927
2007-07-29 17:45:51 +00:00
Jens Granseuer
63f30c42f4 get rid of a number of unnecessary casts and the gtk version checks since
2007-07-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_view_tooltip_cb), (desktop_init):
	* data/appearance.glade: get rid of a number of unnecessary casts and the
	gtk version checks since we now depend on 2.11.6 unconditionally

svn path=/trunk/; revision=7915
2007-07-28 14:15:48 +00:00
Jens Granseuer
7ea1e18d5c bump all tooltips code to gtk 2.11.6
2007-07-23  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init): bump all tooltips code to gtk
	2.11.6

svn path=/trunk/; revision=7868
2007-07-23 18:43:37 +00:00
Jens Granseuer
0e16486c79 Use new GTK+ convenience API for icon view tooltips. (#455985)
2007-07-12  Jens Granseuer  <jensgr@gmx.net>

        * appearance-desktop.c: Use new GTK+ convenience API for
        icon view tooltips.  (#455985)



svn path=/trunk/; revision=7867
2007-07-23 18:21:39 +00:00
Jens Granseuer
14ba88579a add option to add wallpapers via the command line (closes bug #456337)
2007-07-12  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_load_stuffs), (desktop_init),
	(desktop_shutdown):
	* appearance-desktop.h:
	* appearance-main.c: (main):
	* appearance.h: add option to add wallpapers via the command line
	(closes bug #456337)

svn path=/trunk/; revision=7853
2007-07-12 20:52:15 +00:00
Jens Granseuer
04d06f42d6 fix leaks
2007-07-08  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_view_tooltip_cb): fix leaks

svn path=/trunk/; revision=7834
2007-07-08 17:52:41 +00:00
Denis Washington
45b4503f34 Added metadata tooltips to the thumbnails in the Background tab. Needs
2007-06-17  Denis Washington  <denisw@svn.gnome.org>

	* appearance-desktop.c: (desktop_init): (wp_view_tooltip_cb):
	* gnome-wp-item.c: (gnome_wp_item_update_description):
	Added metadata tooltips to the thumbnails in the Background tab.
	Needs GTK+ 2.11 to compile (but is surrounded with GTK_CHECK_VERSION()
	for compilation with older gtk+ versions).

svn path=/trunk/; revision=7738
2007-06-17 15:55:58 +00:00
Jens Granseuer
1c5d2a43bd be extra careful when generating pixbufs (should mean we just get no
2007-06-15  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_props_load_wallpaper),
	(wp_scale_type_changed), (wp_shade_type_changed):
	* gnome-wp-utils.c: (gnome_wp_pixbuf_tile): be extra careful when
	generating pixbufs (should mean we just get no thumbs instead of
	assertion failures, bug #403160)

svn path=/trunk/; revision=7728
2007-06-15 17:57:49 +00:00
Jens Granseuer
a84a68182a major resource handling fixup and initial bits for handling custom
2007-06-04  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init), (desktop_shutdown):
	* appearance-desktop.h:
	* appearance-font.c: (font_init), (font_shutdown):
	* appearance-font.h:
	* appearance-main.c: (main_window_response), (main):
	* appearance-style.c: (style_init), (conv_to_widget_cb),
	(conv_from_widget_cb):
	* appearance-style.h:
	* appearance-themes.c:
	* appearance-themes.h:
	* appearance.h: major resource handling fixup and initial bits
	for handling custom metathemes

svn path=/trunk/; revision=7689
2007-06-04 20:23:47 +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
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
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
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
Jens Granseuer
8529e2f343 more HIG and consistency fixing
2007-05-04  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init):
	* appearance.glade: more HIG and consistency fixing

svn path=/trunk/; revision=7553
2007-05-04 19:40:47 +00:00
Jens Granseuer
b7ac6f9339 fix string capitalization according to HIG
2007-05-04  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init):
	* appearance.glade: fix string capitalization according to HIG

svn path=/trunk/; revision=7552
2007-05-04 19:15:50 +00:00
Thomas Wood
207ce87995 Remove WID() macro, which has an incompatible definition in
2007-05-04  Thomas Wood  <thos@gnome.org>

	* appearance-desktop.c: (wp_add_images), (wp_dragged_image),
	(desktop_init):
	* appearance-main.c: (main):
	* appearance-themes.c: (themes_init):
	* appearance-ui.c: (set_toolbar_style), (set_have_icons),
	(ui_init):
	* appearance.h:
	Remove WID() macro, which has an incompatible definition in capplet-utils.h

svn path=/trunk/; revision=7549
2007-05-04 17:11:12 +00:00
Denis Washington
fac8387c9e Fixed a leak.
* appearance-desktop.c: (wp_tree_delete_event): Fixed a leak.

svn path=/trunk/; revision=7546
2007-05-03 17:06:48 +00:00
Denis Washington
608cac39ef Ported Jens Gransauer's patch for bug #332810 to the appearance capplet
* appearance.h:
* appearance-desktop.c:
Ported Jens Gransauer's patch for bug #332810 to the appearance capplet 
and applied it.

svn path=/trunk/; revision=7543
2007-05-03 13:57:09 +00:00
Denis Washington
6bc2415583 Added drag and drop, re-enabled the watch cursor when adding images, and
* appearance-desktop.c: Added drag and drop, re-enabled the watch cursor
when adding images, and removed some commented out code.


svn path=/trunk/; revision=7538
2007-05-02 15:26:07 +00:00
Denis Washington
255eb9da7d Corrected copyright notice authors.
* appearance-desktop.[ch]: Corrected copyright notice authors.

svn path=/trunk/; revision=7537
2007-05-02 14:19:39 +00:00
Denis Washington
e3dafbb585 Implement the the Desktop tab. Drag and drop still has to be done.
* appearance.glade:
* appearance-desktop.c:
* appearance-desktop.h:
* appearance-main.h:
* Makefile.am:
* gnome-wp-*.[ch]:

Implement the the Desktop tab. Drag and drop still has to be done.

svn path=/trunk/; revision=7536
2007-05-02 14:04:53 +00:00