1. 28 Mar, 2011 6 commits
    • Vincent Untz's avatar
      panel: Load objects from GSettings on startup · 52d060cc
      Vincent Untz authored
      This is far from the end of porting the panel objects to GSettings, but
      we can now have the full default panel!
      
      The object loading code was moved to its own file.
      52d060cc
    • Vincent Untz's avatar
      panel: Port toplevel configuration to GSettings · 88e0b8f6
      Vincent Untz authored
      This is big, but actually mostly straightforward.
      
      The panel properties dialog still needs to be ported, and there is some
      code commented out (with #if 0) to enable build without porting this
      yet.
      
      We needed to split some enums in a new file (panel-enums-gsettings.h),
      so that we can generate GSettings schemas for them and use enums for
      keys.
      
      Note that we also drop the opacity key for background, as we directly
      store RGBA in the color key now.
      88e0b8f6
    • Vincent Untz's avatar
      panel: Add code to import a panel layout in GSettings · 02759ed2
      Vincent Untz authored
      Now, on first start, we will populate GSettings with a layout.
      
      This is the first step for the migration to GSettings for
      toplevels/objects.
      02759ed2
    • Vincent Untz's avatar
      panel: Port tooltips_enabled key to GSettings · d4af3d34
      Vincent Untz authored
      This also means we can get rid of panel-config-global.[ch] since it's
      now doing nothing.
      d4af3d34
    • Vincent Untz's avatar
      panel: Move defines for GSettings schemas in one header · d3073f40
      Vincent Untz authored
      This will be much easier if we have all the defines in one file.
      d3073f40
    • Vincent Untz's avatar
      panel: Drop drawers · 7ca5dda8
      Vincent Untz authored
      It's finally time to drop drawers:
       - there are always been various issues here and there, and they've
         never got fixed
       - it added complexity to the code
       - number of users using it is small
       - 3.0 is a good time to do this change
      7ca5dda8
  2. 31 Jan, 2011 2 commits
  3. 29 Sep, 2010 1 commit
  4. 27 Sep, 2010 1 commit
  5. 20 Sep, 2010 1 commit
  6. 14 Sep, 2010 1 commit
  7. 26 May, 2010 1 commit
  8. 18 May, 2010 1 commit
  9. 26 Feb, 2010 1 commit
  10. 22 Feb, 2010 1 commit
    • Carlos Garcia Campos's avatar
      Remove bonobo dependency · 060e3638
      Carlos Garcia Campos authored
      Libpanel-applet and gnome-panel have been ported to dbus and the applets
      have been migrated to the new libpanel-applet API.
      See bug #572131.
      060e3638
  11. 12 Jan, 2010 2 commits
    • Vincent Untz's avatar
      [panel] Get rid of the last bits of libgnome* (GnomeClient) · 77ccd476
      Vincent Untz authored
      Here's a summary of what was done here:
       - remove configure checks for libgnome and libgnomeui
       - add a copy of EggSMClient (and add configure checks for sm & ice)
       - patch the copy of EggSMClient to add egg_sm_client_startup. See
         https://bugzilla.gnome.org/show_bug.cgi?id=606786 for details
       - convert the GnomeClient code we were using to use EggSMClient
       - use egg_set_desktop_file(), so we don't have to manually set the
         application name and default window icon
       - replace GnomeProgam usage with GOption and gtk_init()
       - remove the gnome_disable_sound_events workaround in PanelToplevel
         (that was disabling libgnomeui sounds for those widgets)
      
      Note that we apparently don't need to call bonobo_init(), so we don't
      call it for now.
      77ccd476
    • Vincent Untz's avatar
      [build] Remove useless crap from CFLAGS · 4f278c62
      Vincent Untz authored
      4f278c62
  12. 28 Aug, 2009 2 commits
  13. 11 Aug, 2009 2 commits
  14. 21 Jul, 2009 1 commit
  15. 02 May, 2009 1 commit
  16. 26 Apr, 2009 1 commit
  17. 08 Dec, 2008 1 commit
    • Vincent Untz's avatar
      Use dbus-based uniquification instead of bonobo-based, and makes it · 377bc956
      Vincent Untz authored
      2008-12-08  Vincent Untz  <vuntz@gnome.org>
      
      	Use dbus-based uniquification instead of bonobo-based, and makes it
      	possible to replace a currently running panel.
      	Based on patch by Colin Walters <walters@verbum.org>
      	Fix bug #558534.
      
      	* GNOME_Panel.server.in: kill
      	* Makefile.am: updated for file removal
      	* main.c: (main): add a --replace option to replace the current panel
      	* panel-session.c: (panel_session_handle_die_request): just call
      	panel_shell_quit()
      	* panel-shell.[ch]: this is pretty much rewritten
      
      2008-12-08  Vincent Untz  <vuntz@gnome.org>
      
      	* GNOME_Panel.idl: remove PanelShell stuff
      
      svn path=/trunk/; revision=11369
      377bc956
  18. 03 Aug, 2008 1 commit
    • Vincent Untz's avatar
      use GtkMountOperation kill those files updated · fb568bf0
      Vincent Untz authored
      2008-08-03  Vincent Untz  <vuntz@gnome.org>
      
      	* panel-menu-items.c: (panel_menu_item_mount_volume): use
      	GtkMountOperation
      	* panel-mount-operation.[ch]: kill those files
      	* Makefile.am: updated
      
      2008-08-03  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: require GTK+ 2.13.1 for GtkMountOperation
      
      svn path=/trunk/; revision=11179
      fb568bf0
  19. 06 Jun, 2008 1 commit
    • Vincent Untz's avatar
      Use the gnome-session DBus API to log out/shut down. The dialog is also · 8784d73b
      Vincent Untz authored
      2008-06-06  Vincent Untz  <vuntz@gnome.org>
      
      	Use the gnome-session DBus API to log out/shut down. The dialog is also
      	displayed by gnome-session.
      	Fix bug #507391
      
      	* Makefile.am: remove files
      	* panel-gdm.[ch]: killed, not used anymore
      	* panel-logout.[ch]: killed, not used anymore
      	* panel-session.[ch]: remove panel_session_request_logout()
      	* libpanel-util/Makefile.am: add new files
      	* libpanel-util/panel-session-manager.[ch]: new, object to interact
      	with the session manager
      	* panel-action-button.c: (panel_action_logout): use PanelSessionManager
      	API
      	(panel_action_shutdown): ditto
      	(panel_action_shutdown_reboot_is_disabled): updated, with a comment
      	about a regression
      	* libpanel-util/panel-power-manager.c: remove useless includes
      	(panel_power_manager_can_suspend): add g_return_val_if_fail
      	(panel_power_manager_can_hibernate): add g_return_val_if_fail
      	(panel_power_manager_attempt_suspend): add g_return_if_fail
      	(panel_power_manager_attempt_hibernate): add g_return_if_fail
      
      svn path=/trunk/; revision=11134
      8784d73b
  20. 05 Jun, 2008 2 commits
    • Vincent Untz's avatar
      move PanelPowerManager to libpanel-util update the include for the change · 4d45aca9
      Vincent Untz authored
      2008-06-06  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am:
      	* libpanel-util/Makefile.am:
      	* panel-power-manager.[ch]: move PanelPowerManager to libpanel-util
      	* panel-logout.c: update the include for the change
      
      svn path=/trunk/; revision=11133
      4d45aca9
    • Vincent Untz's avatar
      Add svn:ignore. · 2f5768aa
      Vincent Untz authored
      2008-06-05  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: updated for gnome-panel/libpanel-util/
      
      2008-06-05  Vincent Untz  <vuntz@gnome.org>
      
      	Let's start cleaning up the source. Okay, this attempt will certainly
      	fail at some point ;-)
      	First step, create an internal libpanel-util library where we put some
      	utility functions.
      	We start with the GKeyFile extensions.
      
      	* Makefile.am: updated for this change
      	* libpanel-util/Makefile.am: new
      	* libpanel-util/panel-keyfile.[ch]: new, based on panel-util.c code
      	* panel-ditem-editor.c: s/panel_util_key_file/panel_key_file/g
      	* panel-menu-items.c: s/panel_util_key_file/panel_key_file/g
      	* panel-run-dialog.c: s/panel_util_key_file/panel_key_file/g
      	* panel-util.[ch]: s/panel_util_key_file/panel_key_file/g and remove
      	panel_util_key_file*
      	* launcher.c: s/panel_util_key_file/panel_key_file/g
      	* gnome-desktop-item-edit.c: s/panel_util_key_file/panel_key_file/g
      
      svn path=/trunk/; revision=11128
      2f5768aa
  21. 10 Feb, 2008 1 commit
    • Vincent Untz's avatar
      Once upon a time, someone created gio. And those words were told: "thou · 5b6a262c
      Vincent Untz authored
      2008-02-10  Vincent Untz  <vuntz@gnome.org>
      
      	Once upon a time, someone created gio. And those words were told:
      	"thou shall port your application to gio".
      	And people worked hard towards this goal.
      
      	* Makefile.am:
      	* panel-mount-operation.[ch]: add PanelMountOperation, stolen from eel
      	* panel-menu-items.c: (activate_uri): easy port to gio
      	(panel_menu_items_append_from_desktop):  ditto
      	(panel_place_menu_item_append_gtk_bookmarks): harder, but still okay
      	port to gio
      	(drive_poll_for_media_cb): new, callback when polling a drive. There's
      	a FIXME: should we automount the newly discovered volume?
      	(panel_menu_item_rescan_drive): new, we poll a drive when we activate
      	it
      	(panel_menu_item_append_drive): new, to append a drive to the menu
      	(volume_mount_cb): new, callback when mounting a volume. There's a
      	FIXME: should we activate the URI of the new mount?
      	(panel_menu_item_mount_volume): new, we mount a volume when we
      	activate it
      	(panel_menu_item_append_volume): new, to append a volume to the menu
      	(panel_menu_item_append_mount): new, to append a mount to the menu
      	(panel_place_menu_item_append_volumes): new, based on nautilus code
      	(panel_place_menu_item_append_mounts): ditto
      	(panel_place_menu_item_create_menu): simplify code to get the name of
      	the Home folder, easy port to gio
      	(panel_place_menu_item_gtk_bookmarks_changed): updated
      	(panel_place_menu_item_mounts_changed): updated
      	(panel_place_menu_item_finalize): updated
      	(panel_place_menu_item_init): easy port
      	* panel-util.[ch]: (panel_util_get_icon_name_from_g_icon): export
      	(panel_util_get_file_display_name_if_mount): fix leak
      	(panel_util_get_file_icon_name_if_mount): fix leak
      
      svn path=/trunk/; revision=10797
      5b6a262c
  22. 13 May, 2007 1 commit
  23. 12 May, 2007 2 commits
    • Vincent Untz's avatar
      renamed from gnome-panel.desktop.in and add a comment update description · 345abd42
      Vincent Untz authored
      2007-05-13  Vincent Untz  <vuntz@gnome.org>
      
      	* gnome-panel.desktop.in.in: renamed from gnome-panel.desktop.in and
      	add a comment
      	* panel-context-menu.c: (panel_context_menu_show_about_dialog): update
      	description to be less geeky
      	* Makefile.am: updated
      
      svn path=/trunk/; revision=10359
      345abd42
    • Vincent Untz's avatar
      new file, containing defines for all named icons we use. So that the names · 6af6d568
      Vincent Untz authored
      2007-05-12  Vincent Untz  <vuntz@gnome.org>
      
      	* panel-icon-names.h: new file, containing defines for all named icons
      	we use. So that the names are easy to change.
      	* Makefile.am: add new file
      	* drawer.c: (create_drawer_applet):
      	* drawer.h:
      	* gnome-desktop-item-edit.c: (main):
      	* launcher.c: (setup_button):
      	* main.c: (main):
      	* menu.c: (create_submenu_entry):
      	* panel-action-button.c:
      	* panel-addto.c:
      	* panel-context-menu.c: (panel_context_menu_show_about_dialog):
      	* panel-ditem-editor.c: (setup_icon_entry):
      	* panel-force-quit.c: (display_popup_window):
      	* panel-force-quit.h:
      	* panel-logout.c: (panel_logout_new):
      	* panel-menu-bar.c: (panel_menu_bar_init):
      	* panel-menu-bar.h:
      	* panel-menu-button.c: (panel_menu_button_get_icon):
      	* panel-menu-button.h:
      	* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks),
      	(panel_place_menu_item_create_menu), (panel_place_menu_item_new):
      	* panel-run-dialog.c: (panel_run_dialog_set_default_icon):
      	* panel-run-dialog.h:
      	* panel-separator.h:
      	* panel-stock-icons.c:
      	* panel.c: (drop_url), (drop_urilist), (panel_receive_dnd_data):
      	Update to use the new macros
      
      svn path=/trunk/; revision=10353
      6af6d568
  24. 06 Mar, 2007 1 commit
    • Vincent Untz's avatar
      require pango 1.15.4 for the clock, generate · 3add7293
      Vincent Untz authored
      2007-03-06  Vincent Untz  <vuntz@gnome.org>
      
      	* configure.in: require pango 1.15.4 for the clock, generate
      	gnome-panel/gnome-panel.desktop
      
      2007-03-06  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: install gnome-panel.desktop for bug-buddy
      	* gnome-panel/gnome-panel.desktop.in: new
      	Fix bug #382584
      
      svn path=/trunk/; revision=10284
      3add7293
  25. 07 Aug, 2006 1 commit
    • Vincent Untz's avatar
      New dialog to edit the launchers! (and my biggest ChangeLog entry ever! · 22d00c42
      Vincent Untz authored
      2006-08-06  Vincent Untz  <vuntz@gnome.org>
      
      	New dialog to edit the launchers!
      	(and my biggest ChangeLog entry ever! awesome!)
      
      	* Makefile.am: add panel-ditem-editor.[ch] and remove menu-ditem.[ch]
      	* panel-ditem-editor.[ch]: new, with all the magic :-)
      	* menu-ditem.[ch]: killed
      	* gnome-desktop-item-edit.c: mark string for translation,
      	(validate_for_filename): copied from menu-ditem.c
      	(get_unique_name): ditto
      	(find_uri_on_save_directory): new, to get the name when creating a
      	.directory file
      	(find_uri_on_save): new, ditto for .desktop files
      	(error_reported): new, to report errors from the editor
      	(main): mark string for translation, update with PanelDItemEditor love
      	* launcher.[ch]: (panel_launcher_get_filename): updated so that we
      	don't consider non-local files as okay
      	(panel_launcher_save_ditem): kill
      	(launch_url): moved to GKeyFile, updated for panel_error_dialog()
      	change
      	(launcher_launch): ditto
      	(drag_data_received_cb): updated to use
      	panel_util_launch_from_key_file(), updated for panel_error_dialog()
      	change
      	(free_launcher): updated
      	(panel_launcher_delete): updated for location change
      	(drag_data_get_cb): updated for location change
      	(create_launcher): moved to GKeyFile, make sure that if the user edits
      	a desktop file from a datadir, the desktop file will get a random name
      	(guess_icon_from_exec): moved to GKeyFile
      	(setup_button): ditto
      	(panel_launcher_hoard): renamed to panel_launcher_find_writable_uri()
      	and...
      	(panel_launcher_find_writable_uri): ... change the function to only
      	get a filename (without saving), also, make it more understandable :-)
      	(properties_apply): kill
      	(launcher_changed): rewrote, update button look
      	(properties_close_callback): kill
      	(launcher_command_changed): do what we did in previous
      	launcher_changed(), ie: reset StartupNotify
      	(launcher_save_uri): function to get uri where the PanelDItemEditor
      	will save the file
      	(set_revert_insensitive): kill
      	(set_revert_sensitive): kill
      	(window_response): kill
      	(launcher_saved): update location gconf key if we had to change the
      	uri of the file
      	(create_properties_dialog): kill
      	(launcher_error_reported): report error
      	(launcher_properties): move to PanelDItemEditor
      	(load_launcher_applet): fix leak in case of error
      	(launcher_load_from_gconf): update string
      	(ensure_item_localefiled): kill
      	(launcher_new_saved): add the launcher to the profile
      	(really_add_launcher): kill
      	(ask_about_launcher): move to PanelDItemEditor
      	(panel_launcher_create_from_info): move to panel_util_key_file*
      	(panel_launcher_create_with_id): updated since panel_launcher_hoard()
      	is killed
      	(launcher_save): kill
      	(find_launcher): updated
      	* panel-util.[ch]: (panel_ditem_launch): make this private
      	(panel_util_launch_from_key_file): new, to use gnome-desktop to launch
      	a .desktop file in a GKeyFile
      	(panel_launch_desktop_file): updated for panel_ditem_launch() change
      	(panel_dialog): kill (well, integrated in panel_error_dialog())
      	(panel_error_dialog): use GtkMessageDialog API to set the secondary
      	text, make it possible to provide a parent window
      	(panel_show_help): updated for panel_error_dialog() change
      	(panel_lock_screen_action): ditto
      	(panel_util_key_file_to_file): handle both URI and paths
      	(panel_util_key_file_load_from_uri): new
      	(panel_util_key_file_get_boolean): new
      	(panel_util_key_file_set_locale_string): new
      	(panel_util_key_file_remove_locale_key): new
      	(and some other panel_util_key_file* macros): new
      
      	* applet.c: updated for launcher_properties() change
      	(panel_applet_register): update string
      	* panel-applet-frame.c: (panel_applet_frame_activated): ditto
      	* button-widget.c: (button_widget_reload_pixbuf): updated for
      	panel_error_dialog() change
      	* panel-action-button.c: (panel_action_search): ditto
      	(panel_action_connect_server): ditto
      	* panel-context-menu.c: (panel_context_menu_remove_panel): ditto
      	(panel_context_menu_setup_remove_panel_it...): update string
      	* panel-marshal.list: updated, and removed useless stuff
      	* panel-menu-bar.c: (panel_menu_bar_invoke_menu): updated for
      	panel_error_dialog() change
      	* panel-menu-button.c: (panel_menu_button_invoke_menu): ditto
      	* panel-menu-items.c: (activate_uri): ditto
      	(panel_menu_item_activate_desktop_file): dittp
      	(panel_menu_items_append_from_desktop): use panel_key_file* functions
      	* panel-properties-dialog.c: (panel_properties_dialog_present):
      	updated for panel_error_dialog() change
      	* panel-recent.c: (recent_documents_activate_cb): ditto
      	* panel-run-dialog.c: (panel_run_dialog_launch_command): ditto
      	(panel_run_dialog_show_url): ditto
      	(panel_run_dialog_execute): ditto
      	(program_list_selection_changed): use panel_key_file* functions
      	(panel_run_dialog_create_desktop_file): ditto
      	(panel_run_dialog_present): updated for panel_error_dialog() change
      	* panel-shell.c: (panel_shell_register): ditto
      	* panel-widget.c: (panel_widget_class_init): use glib marshal
      	functions
      22d00c42
  26. 28 Jul, 2006 1 commit
    • Vincent Untz's avatar
      Port from egg-recent to GtkRecent. · 83a07b3f
      Vincent Untz authored
      2006-07-28  Vincent Untz  <vuntz@gnome.org>
      
      	Port from egg-recent to GtkRecent.
      
      	* Makefile.am: remove egg stuff
      	* egg-recent*: kill
      	* panel-menu-items.c: keep a GtkRecentManager instead of
      	EggRecentViewGtk
      	(panel_place_menu_item_create_menu): updated
      	(panel_place_menu_item_recreate_menu): updated
      	(panel_place_menu_item_finalize): updated
      	(panel_place_menu_item_instance_init): get the default recent manager
      	* panel-recent.[ch]: (recent_documents_activate_cb): updated for
      	GtkRecent
      	(panel_recent_model_changed_cb): renamed to...
      	(panel_recent_manager_changed_cb): and updated
      	(clear_dialog_response): updated
      	(recent_documents_clear_cb): updated
      	(recent_documents_tooltip_func): kill, GTK+ does this for us
      	(panel_recent_append_documents_menu): updated with GtkRecent
      83a07b3f
  27. 24 Jul, 2006 2 commits
    • Vincent Untz's avatar
      don't use eggaccelerators anymore kill directly use · 61c17290
      Vincent Untz authored
      2006-07-24  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: don't use eggaccelerators anymore
      	* eggaccelerators.[ch]: kill
      	* panel-bindings.c: (panel_binding_set_from_string): directly use
      	gtk_accelerator_parse() now
      61c17290
    • Vincent Untz's avatar
      Use gnome-power-manager to implement suspend/hibernate. Based on patch by · 5f7f8855
      Vincent Untz authored
      2006-07-24  Vincent Untz  <vuntz@gnome.org>
      
      	Use gnome-power-manager to implement suspend/hibernate.
      	Based on patch by Ray Strode <rstrode@redhat.com>
      	Fix bug #347970
      
      	* panel-power-manager.[ch]: new files
      	* Makefile.am: add new files
      	* panel-logout.c: (panel_logout_init) connect to the power manager
      	(panel_logout_destroy): unref the power manager
      	(panel_logout_response): keep a ref to the power manager since we need
      	it for this function, don't use GDM to hibernate since it has the nasty
      	side-effect of loggint out the user..., implement suspend
      	(panel_logout_new): add buttons to suspend and hibernate
      
      	* panel-enums.h: reindent one line
      	* panel-menu-items.h: ditto
      5f7f8855
  28. 12 Feb, 2006 1 commit