gnome-panel r10351 - trunk/gnome-panel
- From: vuntz svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r10351 - trunk/gnome-panel
- Date: Sat, 12 May 2007 17:46:39 +0100 (BST)
Author: vuntz
Date: 2007-05-12 17:46:39 +0100 (Sat, 12 May 2007)
New Revision: 10351
ViewCVS link: http://svn.gnome.org/viewcvs/gnome-panel?rev=10351&view=rev
Modified:
trunk/gnome-panel/ChangeLog
trunk/gnome-panel/button-widget.c
trunk/gnome-panel/gnome-desktop-item-edit.c
trunk/gnome-panel/launcher.c
trunk/gnome-panel/panel-ditem-editor.c
trunk/gnome-panel/panel-util.c
trunk/gnome-panel/panel-util.h
Log:
2007-05-12 Vincent Untz <vuntz gnome org>
* panel-util.[ch]: (guess_icon_from_exec): new, moved from launcher.c
* panel-ditem-editor.c: (setup_icon_entry): new, to setup the icon in
the icon entry
(panel_ditem_editor_constructor): if we're creating a new file, call
setup_icon_entry() to get nice default icons
(panel_ditem_editor_command_changed): guess the icon from the new
command and update it. It's what the user wants in 99% of the case, to
get a nice icon.
(panel_ditem_editor_sync_display): use setup_icon_entry()
* gnome-desktop-item-edit.c: (find_uri_on_save_directory): kill
(main): when the file for a .directory file doesn't exist, we don't
need to register a save_uri function. It was impossible to edit a
file that was not passed a non-absolute URI
* launcher.c: (guess_icon_from_exec): moved in another file
(setup_button): if we can't find an icon, use the launcher icon
* button-widget.c: (button_widget_reload_pixbuf): add FIXME
Sideeffect: fix bug #435150
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]