1. 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
  2. 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
  3. 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
  4. 13 May, 2007 1 commit
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 12 Feb, 2006 2 commits
  11. 27 Jan, 2006 1 commit
    • Vincent Untz's avatar
      fix distcheck · 768d628a
      Vincent Untz authored
      2006-01-27  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: fix distcheck
      768d628a
  12. 22 Jan, 2006 2 commits
    • Vincent Untz's avatar
      don't remove panel-default-setup.entries in "make clean" · 1bf04125
      Vincent Untz authored
      2006-01-22  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: don't remove panel-default-setup.entries in "make
      	clean"
      1bf04125
    • Vincent Untz's avatar
      remove panel-default-setup.entries from here kill add back, without · 0485887c
      Vincent Untz authored
      2006-01-22  Vincent Untz  <vuntz@gnome.org>
      
      	* .cvsignore: remove panel-default-setup.entries from here
      	* panel-default-setup.entries.in: kill
      	* panel-default-setup.entries: add back, without DATADIR
      	* Makefile.am: remove all the stuff related to the generation of
      	panel-default-setup.entries
      	* launcher.c: (create_launcher): look in the XDG data dirs if the
      	.desktop file exists, so we can use epiphany.desktop without telling
      	the panel the whole path.
      0485887c
  13. 16 Jan, 2006 1 commit
    • Vincent Untz's avatar
      Add new logout/shutdown dialogs. · e806ab7c
      Vincent Untz authored
      2006-01-16  Vincent Untz  <vuntz@gnome.org>
      
      	Add new logout/shutdown dialogs.
      
      	* Makefile.am: add panel-logout.[ch] and panel-gdm.[ch]
      	* panel-logout.[ch]: new, implements a logout dialog
      	* panel-gdm.[ch]: new, for communications with gdm
      	* panel-action-button.c: add a new shutdown button
      	(panel_action_logout): remove the recursion guard from here and use
      	the new logout dialog
      	(panel_action_shutdown): new
      	* panel-enums.h: add the new shutdown action button
      	* panel-menu-items.c: (panel_place_menu_item_append_gtk_bookmarks):
      	fix comment
      	(panel_menu_items_append_lock_logout): append the shutdown item
      	* panel-session.c: (panel_session_request_logout): add recursion guard
      	here, don't tell gnome-session to show its logout dialog
      e806ab7c
  14. 13 Jan, 2006 1 commit
    • Vincent Untz's avatar
      Add separator internal applet. Based on patch by Carlos Garcia Campos · a7cd5bce
      Vincent Untz authored
      2006-01-13  Vincent Untz  <vuntz@gnome.org>
      
      	Add separator internal applet. Based on patch by Carlos Garcia Campos
      	<carlosg@gnome.org>. Fix bug #300593
      
      	* Makefile.am: add new files
      	* applet.c: (panel_applet_set_dnd_enabled): handle the separator case
      	(applet_callback_callback): ditto
      	(panel_applet_load_idle_handler): ditto
      	* panel-addto.c: add separator item
      	(panel_addto_add_item): handle separator case
      	* panel-enums.h: add separator to the list of internal objects
      	* panel-profile.c: add separator to the object map list
      	* panel-separator.[ch]: new
      	* panel.c: (orientation_change): handle separator case,
      	(back_change): ditto
      	(drop_internal_applet): ditto
      a7cd5bce
  15. 11 Jan, 2006 1 commit
    • Vincent Untz's avatar
      remove panel-gdk-pixbuf-extensions.[ch] kill use cairo and · cbeecc07
      Vincent Untz authored
      2006-01-11  Vincent Untz  <vuntz@gnome.org>
      
      	* Makefile.am: remove panel-gdk-pixbuf-extensions.[ch]
      	* panel-gdk-pixbuf-extensions.[ch]: kill
      	* panel-background-monitor.c:
      	(panel_background_monitor_tile_background): use cairo and
      	panel_util_cairo_rgbdata_to_pixbuf() to tile the image
      	* panel-background.c: (composite_image_onto_desktop): use cairo
      	(load_background_file): add a FIXME, update alpha so we know if the
      	image has alpha
      	* panel-util.[ch]: (panel_util_cairo_rgbdata_to_pixbuf): new, to
      	convert data created by cairo to a GdkPixbuf
      	Fix bug #160926.
      cbeecc07
  16. 11 Apr, 2005 1 commit
  17. 07 Mar, 2005 1 commit
  18. 19 Feb, 2005 1 commit
    • Vincent Untz's avatar
      Synchronize the main menu layout with the menu bar layout Fix bug #163501 · dacafb95
      Vincent Untz authored
      2005-02-19  Vincent Untz  <vincent@vuntz.net>
      
      	Synchronize the main menu layout with the menu bar layout
      	Fix bug #163501
      
      	* Makefile.am: add panel-menu-items.[ch]
      	* menu.[ch]: (activate_app_def): simple wrapper for
      	panel_menu_item_activate_desktop_file()
      	(setup_menu_panel): make the menu appear on the right screen when it's
      	shown
      	(create_empty_menu): intercept all right button clicks
      	(menu_create_action_item): moved to panel-menu-items.c
      	(main_menu_append): new, append items to the main menu
      	(create_main_menu): simplify a lot :-)
      	* panel-menu-bar.c: big cleanup
      	(activate_uri): moved to panel-menu-items.c
      	(activate_app_def): ditto
      	(panel_menu_bar_append_from_desktop): ditto
      	(panel_menu_bar_show_menu): killed since it's done in menu.c
      	(panel_menu_bar_connect_menu_signals): killed, now useless
      	(panel_menu_bar_append_place_item): moved to panel-menu-items.c
      	(panel_menu_bar_recreate_places_menu): ditto
      	(panel_menu_bar_append_applications_menu): updated
      	(panel_menu_bar_desktop_is_home_dir_changed): moved to
      	panel-menu-items.c
      	(panel_menu_bar_gtk_bookmarks_changed): ditto
      	(panel_menu_bar_volume_changed): ditto
      	(panel_menu_bar_append_gtk_bookmarks): ditto
      	(panel_menu_bar_append_volumes): ditto
      	(panel_menu_bar_create_places_menu): ditto
      	(panel_menu_bar_append_desktop_menu): ditto
      	(panel_menu_bar_create_desktop_menu): ditto
      	(panel_menu_bar_instance_init): remove all the places/desktop
      	initialization code and create Places/Desktop menu item objects
      	(panel_menu_bar_parent_set): updated
      	(panel_menu_bar_finalize): remove all the places/desktop finalization
      	code
      	* panel-menu-items.[ch]: new files that contain objects for Places
      	and Desktop menu items
      dacafb95
  19. 07 Feb, 2005 1 commit
    • Vincent Untz's avatar
      fix distcheck · 2fcdd570
      Vincent Untz authored
      2005-02-07  Vincent Untz  <vincent@vuntz.net>
      
      	* Makefile.am: fix distcheck
      2fcdd570
  20. 28 Jan, 2005 1 commit
  21. 10 Jan, 2005 1 commit
    • Mark McLoughlin's avatar
      Remove Shutdown/Reboot menu items again - we couldn't figure out how to · 25cbedaa
      Mark McLoughlin authored
      2005-01-10  Mark McLoughlin  <mark@skynet.ie>
      
              Remove Shutdown/Reboot menu items again - we couldn't
              figure out how to make it work in time in bug #92277
      
              * Makefile.am:
              * menu.c, panel-action-button.c, panel-enums.h,
                panel-lockdown.[ch], panel-menu-bar.c: remove
              shutdown/reboot menu items.
      
              * gdm-logout-action.[ch]: remove.
      25cbedaa
  22. 06 Jan, 2005 1 commit
    • Mark McLoughlin's avatar
      Based on a patch by Raffaele Sandrini <rasa@gmx.ch> · 45a91ba7
      Mark McLoughlin authored
      2005-01-06  Mark McLoughlin  <mark@skynet.ie>
      
              Based on a patch by Raffaele Sandrini <rasa@gmx.ch>
      
              Add Shut Down/Restart menu items to the actions menu and
              the main menu. Works by using GDM's SET_LOGOUT_ACTION
              protocol.
      
              gnome-session implications still being discussed in
              bug #92277
      
              * Makefile.am: add gdm-logout-action.[ch].
      
              * gdm-logout-action.[ch]: logout action protocol
              implementation.
      
              * menu.c: (create_main_menu):
                panel-menu-bar.c: (panel_menu_bar_create_actions_menu):
               add Shut Down/Restart menu items.
      
              * panel-action-button.c:
              (panel_action_shutdown), (panel_action_reboot): hook
              up the action buttons.
      
              * panel-enums.h: add shutdown/reboot actions.
      
              * panel-lockdown.[ch]:
              (panel_lockdown_get_disable_shutdown),
              (panel_lockdown_get_disable_reboot): check to see if
              logout is disabled and whether GDM supports the logout
              action.
      45a91ba7
  23. 12 Dec, 2004 1 commit
    • Vincent Untz's avatar
      First step in trying to make menu.c cleaner: move the panel context menu · 580e638c
      Vincent Untz authored
      2004-12-12  Vincent Untz  <vincent@vuntz.net>
      
      	First step in trying to make menu.c cleaner: move the panel context
      	menu in a new file
      
      	* Makefile.am: add new files
      	* menu.[ch]: (menu_get_panel), (menuitem_to_screen),
      	(add_menu_separator): these functions are no longer static
      	(check_for_screen), (show_about_dialog), (about_gnome_cb),
      	(create_new_panel), (remove_panel), (setup_remove_this_panel),
      	(make_panel_submenu), (show_panel_help), (create_panel_context_menu):
      	move these functions...
      	* panel-context-menu.[ch]: ... here (new files)
      	* panel.c: (panel_menu_get): updated
      580e638c
  24. 29 Nov, 2004 1 commit
    • Vincent Untz's avatar
      fix distcheck · 60d3601a
      Vincent Untz authored
      2004-11-29  Vincent Untz  <vincent@vuntz.net>
      
      	* Makefile.am: fix distcheck
      60d3601a
  25. 13 Nov, 2004 1 commit
    • Vincent Untz's avatar
      gnome-panel doesn't need menu-ditem.[ch] and gnome_desktop_item_edit · a8ba7908
      Vincent Untz authored
      2004-11-13  Vincent Untz  <vincent@vuntz.net>
      
      	* Makefile.am: gnome-panel doesn't need menu-ditem.[ch] and
      	gnome_desktop_item_edit doesn't need panel-a11y.c
      	* panel-addto.c: remove useless menu-ditem.h include
      	(panel_addto_query_applets): kill one warning
      	* panel-applet-frame.c: (panel_applet_frame_get_name): kill one
      	warning
      	* screenshot-utils.h: remove
      a8ba7908
  26. 12 Nov, 2004 1 commit
    • Mark McLoughlin's avatar
      Back in 2.4, we messed up by not realising that the new configuration · 002a62d4
      Mark McLoughlin authored
      2004-11-12  Mark McLoughlin  <mark@skynet.ie>
      
      	Back in 2.4, we messed up by not realising that the new
      	configuration format didn't in fact co-exist at all well
      	with the 2.2 configuration. Which means if you share a
      	homedir between a GNOME 2.2 (or before) login and a
      	GNOME 2.4 (or later) login, you're panel is screwed
      	terribly.
      
      	This change belatedly fixes the problem by storing the
      	panel configuration in a different location from where
      	we stored it in GNOME 2.2. It also removes the broken
      	concept of panel profiles. The new layout is the same
      	as before except its store in /apps/panel now - e.g. the
      	list of panels is now /apps/panel/general/toplevel_id_list
      
      	* Makefile.am: install the default setup in /apps/panel.
      
      	* main.c: (main): remove the --profile command line argument.
      
      	* panel-session.c: (panel_session_init): don't save --profile
      	in the RestartCommand.
      
      	* panel-gconf.h: set new config location.
      
      	* panel-compatibility.c:
      	(get_homedir_source): split this out. Yes, it does have
      	xml:readonly:$(HOME)/.gconf hardcoded. No I don't have any
      	better ideas.
      	(panel_compatibility_maybe_copy_old_config): copy the old
      	configuration to /apps/panel if /apps/panel/general/profiles_migrated
      	is not set.
      
      	* panel-general.schemas.in: add /apps/panel/general/profiles_migrated
      	and apply schemas.
      
      	* panel-default-setup.entries: don't apply the schemas for
      	general keys - we do that in panel-general.schemas now.
      
      	* applet.c, drawer.c, launcher.c, panel-action-button.c,
      	  panel-applet-frame.c, panel-gconf.c, panel-menu-button.c,
      	  panel-profile.[ch], panel-run-dialog.c: update for the
      	fact that we don't have profiles anymore.
      002a62d4
  27. 09 Nov, 2004 2 commits
    • Mark McLoughlin's avatar
      remove -DGTK_MENU_INTERNALS, we don't use crackpot gtk+ internals anymore. · 28f8fef1
      Mark McLoughlin authored
      2004-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am: remove -DGTK_MENU_INTERNALS, we don't use
              crackpot gtk+ internals anymore. Woo!
      28f8fef1
    • Mark McLoughlin's avatar
      Use libgnome-menu to generate menus so that we now use the freekdestop.org · 08d1b6a7
      Mark McLoughlin authored
      2004-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              Use libgnome-menu to generate menus so that we now use the
              freekdestop.org Desktop Menu Specification.
      
              * menu.[ch]: major hackfest to make it use libgnome-menu and
              clean things up in the process.
      
              * panel-addto.c: generate the launcher list using libgnome-menu.
      
              * panel-run-dialog.c: generate the launcher list using libgnome-menu.
      
              * panel-menu-bar.c,
              panel-menu-button.c: update for menu.[ch] changes
      
              * panel.c: update drag and drop stuff for menu changes.
      
              * panel-util.[ch]: cull a bunch of crap which was only
              used by quick-desktop-reader.[ch].
      
              * applet.[ch]:
              (panel_applet_position_menu): move here from menu-util.[ch].
      
              * Makefile.am: remove menu-util.[ch], menu-fentry.[ch]
              and quick-desktop-reader.[ch] from the build.
      
              * menu-fentry.[ch], menu-util.[ch],
              quick-desktop-reader.[ch]: remove.
      08d1b6a7
  28. 03 Nov, 2004 1 commit
  29. 01 Nov, 2004 2 commits
    • Jonathan Blandford's avatar
      remove extraneous glade file. · 1ef9cd24
      Jonathan Blandford authored
      Mon Nov  1 18:49:47 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * Makefile.am (glade_DATA): remove extraneous glade file.
      1ef9cd24
    • Jonathan Blandford's avatar
      Pretty big rewrite. Start of gnome_vfs support. It's not complete, and the · eaa0a718
      Jonathan Blandford authored
      Mon Nov  1 15:52:04 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gnome-panel-screenshot:
              * gnome-panel-screenshot.c:
              * gnome-panel-screenshot.glade:
              * gnome-panel-screenshot.schemas.in:
              * screenshot-dialog.c:
              * screenshot-dialog.h:
              * screenshot-save.c:
              * screenshot-save.h:
              * screenshot-xfer.c:
              * screenshot-xfer.h: Pretty big rewrite.  Start of gnome_vfs
              support.  It's not complete, and the dialog is fully stubbed, but
              you can now save to remote URI's.  Additionally, it now has a file
              chooser embedded in it.
      eaa0a718
  30. 31 Oct, 2004 1 commit
  31. 30 Oct, 2004 1 commit
  32. 27 Oct, 2004 1 commit
    • Christian Neumair's avatar
      Fix bug #143963: "Remove Distro Menu". · b13f2d73
      Christian Neumair authored
      2004-10-27  Christian Neumair  <chris@gnome-de.org>
      
      	Fix bug #143963: "Remove Distro Menu".
      
      	* distribution.[ch]: Delete.
      
      	* Makefile.am:
      	* menu.[ch]:
      	* menu-util.[ch]:
      	* panel.c:
      	* panel-menu-bar.c:
      	Remove all distribution menu-related code.
      b13f2d73
  33. 22 Oct, 2004 1 commit
    • Jonathan Blandford's avatar
      Big refactor of the code. Split out various functions into other files to · 31ac78d0
      Jonathan Blandford authored
      Fri Oct 22 15:32:15 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gnome-panel-screenshot.c: Big refactor of the code.  Split out
              various functions into other files to get gnome-panel-screenshot.c
              down from 1700 lines.  Additionally:
              - Removed cut-n-paste of gdk_pixbuf_save(), #148369
              - Added tentative drop-shadow support.  It's slow so it's off by
              default, #148367
              - Better async support.  We shouldn't leak temporary files
              anymore.
      31ac78d0