1. 19 May, 2003 1 commit
    • Mark McLoughlin's avatar
      Random re-formatting foo and: (get_url_from_input): add from Frank's · e27fb553
      Mark McLoughlin authored
      2003-05-19  Mark McLoughlin  <mark@skynet.ie>
      
      	* panel-run-dialog.[ch]:
      	Random re-formatting foo and:
      	(get_url_from_input): add from Frank's original libgnome
      	patch. Seems it never got in.
      
      2003-05-19  Frank Worsley <fworsley@shaw.ca>
      
      	* panel-run-dialog.c
      	* panel-run-dialog.h
      	* panel-run-dialog.glade
      	the sweet new run program dialog
      
      	* Makefile.am:
      	added in the new files
      
      	* menu.c: (add_to_run_dialog):
      	* panel-action-button.c: (panel_action_run_program):
      	* panel-action-protocol.c: (panel_action_protocol_run_dialog):
      	moved to new run dialog function names
      
      	* panel-util.c: (panel_get_unique_uri):
      	copied from launcher.c, a function to get a unique uri
      	for a given location and file suffix
      
      	* launcher.c: (launcher_location), (panel_launcher_save_ditem):
      	now uses new util function to get unique uri
      
      	* panel-util.h:
      	updated for new function
      
      	* panel.c:
      	don't include gnome-run.h
      e27fb553
  2. 13 May, 2003 1 commit
    • Mark McLoughlin's avatar
      remove FIXME. · 0f70e135
      Mark McLoughlin authored
      2003-05-13  Mark McLoughlin  <mark@skynet.ie>
      
              * panel.c: (panel_delete_without_query): remove FIXME.
      
      2003-01-24  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am: add panel-force-quit.[ch] to the build.
      
              * panel-force-quit.[ch]: impl a safer more GNOMEish version
              of xkill.
      
              * menu.c: (create_button_menu): add the force quit button.
      
              * panel-action-button.[ch]: (panel_action_force_quit): ditto.
      
              * panel-stock-icons.[ch]: (panel_init_stock_icons_and_items):
              add the panel-force-quit stock icon.
      0f70e135
  3. 12 May, 2003 1 commit
    • Mark McLoughlin's avatar
      Fix loads of drawer bugs. Redo launcher hoarding. Don't save the absolute · e2c0e65a
      Mark McLoughlin authored
      2003-05-12  Mark McLoughlin  <mark@skynet.ie>
      
      	Fix loads of drawer bugs. Redo launcher hoarding. Don't
      	save the absolute path of launchers.
      
      	* applet.[ch]:
      	(panel_applet_clean): unlink the .desktop file for
      	launchers and delete the toplevel for drawers.
      	(free_applet_to_load),
      	(panel_applet_load_idle_handler),
      	(panel_applet_queue_applet_to_load), (panel_applet_compare):
      	re-factor so as to defer looking up the toplevel associated
      	with an object so that objects on drawers load successfully
      	after the drawer toplevel is loaded.
      
      	* button-widget.c: (button_widget_expose):
      	s/gdk_pixbuf_render_to_drawable_alpha/gdk_draw_pixbuf/
      
      	* drawer.[ch]:
      	(destroy_drawer): detach from the toplevel.
      	(create_drawer_toplevel): load_toplevel now returns the
      	toplevel. Also s/attached_panel_id/attach_toplevel_id/
      	(panel_drawer_delete): impl deleting the associated toplevel.
      	(drawer_load_from_gconf): don't free the toplevel_id. load_toplevel()
      	takes ownership of it.
      
      	* gnome-panel-screenshot.c: (on_preview_expose_event):
      	s/gdk_pixbuf_render_to_drawable_alpha/gdk_draw_pixbuf/
      
      	* launcher.[ch]: fix launcher hoarding and don't save the
      	absolute path of the .desktop file.
      
      	* panel-profile.[ch]:
      	(panel_profile_load_toplevel): return the toplevel and
      	free the toplevel_id if we fail. Also, don't actually
      	show the toplevel - drawers shouldn't be shown until
      	the button is shown.
      	(panel_profile_load_and_show_toplevel): impl wrapper
      	which loads and shows the toplevel.
      	(panel_profile_load_object): upd.
      	(panel_profile_toplevel_id_list_notify), (panel_profile_load):
      	use load_and_show().
      
      	* panel-toplevel.c:
      	(panel_toplevel_update_attached_position): if the attached
      	widget hasn't been allocated place the toplevel off-screen.
      	(panel_toplevel_disconnect_attached): zero out the signal ids.
      	(panel_toplevel_connect_attached): connect to the attached
      	widget's hide/shown and hide/show the toplevel as appropriate.
      	(panel_toplevel_attach_to_widget): update the hide buttons.
      
      	* panel.c: (drop_internal_icon): create a copy of the .desktop
      	file when dnd-ing launchers.
      e2c0e65a
  4. 09 Apr, 2003 2 commits
  5. 05 Mar, 2003 2 commits
    • Mark McLoughlin's avatar
      remove - authors are listed in the toplevel AUTHORS file. · 04b7cca2
      Mark McLoughlin authored
      2003-03-05  Mark McLoughlin  <mark@skynet.ie>
      
              * AUTHORS: remove - authors are listed in the toplevel
              AUTHORS file.
      
              * TODO, TODO.old, new-toplevel-todo: kill - everythings
              in bugzilla now.
      
              * panel-toplevel.c: kill TODO list.
      
              * panel.c: (panel_size_change): don't update the size
              int the properties dialog here.
      04b7cca2
    • Mark McLoughlin's avatar
      Merge the new-toplevel branch into HEAD and: · e27c29e5
      Mark McLoughlin authored
      2003-03-05  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am, eggaccelerators.[ch]: re-instate
              eggaccelerators.[ch].
      
              * panel.c, panel_widget.c: remove the delete_dialog
              PanelWidget member and just use object data instead.
              Adapt the delete dialog code for PanelToplevel.
      
              * gnome-panel-screenshot.c: fix warning.
      e27c29e5
  6. 02 Mar, 2003 1 commit
  7. 01 Mar, 2003 1 commit
  8. 24 Feb, 2003 2 commits
    • Mark McLoughlin's avatar
      kill eggaccelerators.[ch]. Not used anymore. · dcd59807
      Mark McLoughlin authored
      2003-02-24  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am:
              * eggaccelerators.c:
              * eggaccelerators.h: kill eggaccelerators.[ch]. Not used
              anymore.
      
              * panel-config-global.c: (panel_global_config_set_entry):
              * panel-config-global.h:
              * panel-global-config.schemas.in:
              * panel.c: (panel_save_global_config): kill support for
              the keybindings related global keys.
      
              * panel-util.[ch]: kill a couple of accelerator related
              utility methods.
      dcd59807
    • Mark McLoughlin's avatar
      Move responsibility for the various global keybindings from the panel to · d31b5ed4
      Mark McLoughlin authored
      2003-02-24  Mark McLoughlin  <mark@skynet.ie>
      
              Move responsibility for the various global keybindings
              from the panel to the winow manager. Window managers can
              invoke the keybindings using the _GNOME_PANEL_ACTION
              ClientMessage protocol.
      
              * Makefile.am: add panel-action-protocol.[ch] and remove
              global-keys.[ch].
      
              * panel-action-protocol.[ch]: implement the protocol.
      
              * global-keys.[ch]: kill.
      
              * main.c: (main): upd.
      
              * panel.c: (panel_apply_global_config): upd.
      
              * xstuff.[ch]: (xstuff_init): kill.
      d31b5ed4
  9. 22 Feb, 2003 1 commit
    • Arvind Samptur's avatar
      Do not popup a 'Delete Panel" query if there are no objects in the panel. · 2c4a9165
      Arvind Samptur authored
      2003-02-22  Arvind Samptur <arvind.samptur@wipro.com>
      
              Do not popup a 'Delete Panel" query if there are
              no objects in the panel.
      
              Based on patch from  Heeten (azari.geo@yahoo.com)
              Fixes #105723
      
              * panel.[ch] : (panel_delete) (panel_delete_query)
              (panel_delete_without_query) :
              Re-organize the panel deletion methods for deleting
              the panel without user interaction when they have no
              objects on them.
      
              * drawer.[ch] : (create_drawer_applet) : Get hold
              of the handler for focus_out event of the drawer button.
              Disconnect while deleting the drawer.
      
              * applet.c : (applet_idle_remove) Use panel_delete().
      
              * menu.c : (remove_panel) Use panel_delete().
      2c4a9165
  10. 17 Feb, 2003 1 commit
  11. 14 Feb, 2003 1 commit
    • Arvind Samptur's avatar
      Deleting the drawer panel using the drawer button queries the user. · 63dcc085
      Arvind Samptur authored
      2003-02-14  Arvind Samptur <arvind.samptur@wipro.com>
              * applet.c: (applet_idle_remove) Deleting the drawer panel
              using the drawer button queries the user.
      
              * panel.[ch]: (panel_delete_query) (remove_panel_accept):
              When deleting the panel, clean up drawers if they exist.
      
              *panel-widget.[ch]: (panel_widget_remove_drawers): Cleanup the gconf of
              the drawers recursively, if they each drawer holds another drawer.
      63dcc085
  12. 31 Jan, 2003 1 commit
    • Arvind Samptur's avatar
      Destroy all open launcher dialogs while deleting the panel. · c90cee91
      Arvind Samptur authored
      Avoid opening of multiple instances of "Delete Panel" dialog.
      
      2003-01-30  Arvind Samptur <arvind.samptur@wipro.com>
              * panel-widget.[ch]: Add a GSList to the PanelWidget struct
              to keep track of all the open 'Create Launcher' dialogs.
      
              * panel.c: (panel_remove_open_create_launcher_dialogs) : Destroy
              all the open 'Create Launcher' dialogs while deleting the panel.
      
              * menu.c (remove_panel_query) ( remove_panel_accept) : Store the
              'Delete Panel' dialog. Avoid creating multiple instances of it.
      c90cee91
  13. 12 Jan, 2003 1 commit
    • Mark McLoughlin's avatar
      only add a seperator after the screenshot item if we actually have a · a874151f
      Mark McLoughlin authored
      2003-01-12  Mark McLoughlin  <mark@skynet.ie>
      
              * panel-menu-bar.c:
              (panel_menu_bar_append_actions_menu): only add a
              seperator after the screenshot item if we actually
              have a screenshot item.
      
      2003-01-12  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am: remove foobar-widget.[ch].
      
              * panel-compatibility.[ch]:
              (panel_compatibility_load_menu_panel): rename from
              foobar_widget_new().
      
              * panel-stock-icons.[ch]:
              (panel_menu_bar_icon_get_size): rename from
              panel_foobat_icon_get_size() but keep the icon size
              name as "foobar-menu" for compatibility.
              (panel_init_stock_icons_and_items): upd.
      
              * panel-types.h: s/FOOBAR_PANEL/MENU_PANEL/
      
              * aligned-widget.c, applet.c, basep-widget.c, button-widget.c,
                drawer-widget.c, drawer.c, edge-widget.c, floating-widget.c,
                global-keys.c, menu-util.c, menu.[ch], multiscreen-stuff.c,
                panel-menu-bar.c, panel-util.c, panel-widget.c, panel.[ch],
                sliding-widget.c: remove all special case handling of the
              foobar. We only have BasePWidget based panels now.
      
              * foobar-widget.[ch]: kill.
      a874151f
  14. 10 Jan, 2003 2 commits
    • Mark McLoughlin's avatar
      Add the code to make old configurations work. I'll get rid of FoobarWidget · b0a9af0a
      Mark McLoughlin authored
      2003-01-10  Mark McLoughlin  <mark@skynet.ie>
      
              Add the code to make old configurations work. I'll
              get rid of FoobarWidget properly soon.
      
              * Makefile.am: add panel-compatibility.[ch] to
              the build.
      
              * foobar-widget.[ch]: (foobar_widget_new_dud):
              rename from foobar_widget_new().
      
              * menu.c: (create_new_panel): don't cast to
              a foobar, its a basep now.
      
              * panel-compatibility.[ch]: (foobar_widget_new):
              impl loading an edge panel with a menu bar and
              window menu instead of a menu panel.
      
              * panel.c: include panel-compatibility.h.
      b0a9af0a
    • Mark McLoughlin's avatar
      Move the menu bar out of foobar-widget as a seperate internal applet. The · 6b599321
      Mark McLoughlin authored
      2003-01-10  Mark McLoughlin  <mark@skynet.ie>
      
              Move the menu bar out of foobar-widget as a seperate
              internal applet. The default panel configuration looks
              identical to before, but if you have a menu panel in
              your saved configuration its going to be missing the
              menu bar and the window menu. I'll be removing the
              menu panel completely and adding some compatibility
              code to load an edge panel set up like a menu panel
              when it sees a menu panel in your configuration.
      
              * panel-menu-bar.[ch]: new internal applet identical
              to the menu bar formerly on the left of menu panel.
      
              * Makefile.am: add panel-menu-bar.[ch] to the build.
      
              * applet.[ch]:
              (applet_callback_callback), (panel_applet_load_idle_handler),
              (panel_applet_save_to_gconf): handle loading/saving the
              menu bar.
      
              * foobar-widget.c: (foobar_widget_class_init),
              (foobar_widget_instance_init), (foobar_widget_exists):
              Remove the old menu bar.
      
              * menu.c: (add_menu_bar_to_panel), (make_add_submenu):
              Add it to the menus.
      
              * panel-per-panel-config.schemas.in: add the menu bar
              to the left hand side of the menu panel in the default
              configuration.
      
              * panel.c: (drop_internal_applet): handle dnd-ing the
              menu bar.
      6b599321
  15. 20 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      /me shovels more crap onto the dung heap that is the panel. · a5bc36a9
      Mark McLoughlin authored
      2002-12-20  Mark McLoughlin  <mark@skynet.ie>
      
              /me shovels more crap onto the dung heap that is the panel.
      
              More precisely, fix #93177 by loading the default panel
              configuration on all screens, instead of just loading
              a foobar on the non-default screens.
      
              * applet.h: kill APPLET_EMPTY and all the string
              ids which haven't been used since 1.4.
      
              * applet.c:
              (panel_applet_get_full_gconf_key): kill. dead. good bye.
              (panel_applet_load_from_unique_id),
              (panel_applet_load_list): use PanelGConfKeyType to
              distinguish between "applets" and "objects" instead of
              using the APPLET_EMPTY hack.
              (panel_applet_load_default_applet_for_screen),
              (panel_applet_load_defaults_for_screen): impl loading the
              configuration for the default set of applets onto a
              particular screen.
              (panel_applet_save_position), (panel_applet_save_to_gconf):
              use panel_gconf_full_key instead of panel_applet_get_full_gconf_key;
      
              * panel-gconf.[ch]:
              (panel_gconf_load_default_config_for_screen): impl method
              for applying the schemas for a default panel or applet
              to a new panel or applet on a given screen.
      
              * panel.c:
              (panel_load_fallback_default_panel): the worst case scenario.
              Just load a foobar.
              (panel_load_default_panel_for_screen),
              (panel_load_default_panels_for_screen): impl loading the
              configuration for the default set of panels onto a
              particular screen.
              (panel_ensure_panel_per_screen): load the default panels
              if no other panels are on that screen.
              (panel_load_panels_from_gconf): upd.
      a5bc36a9
  16. 19 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      No, this isn't purely random re-factoring. Its needed to fix someting · c9d94864
      Mark McLoughlin authored
      2002-12-19  Mark McLoughlin  <mark@skynet.ie>
      
              No, this isn't purely random re-factoring. Its
              needed to fix someting else.
      
              * panel.c:
              (panel_load_panels_from_gconf): split this gigantic
              function into several smaller ones.
              (panel_load_edge_panel_from_gconf),
              (panel_load_aligned_panel_from_gconf),
              (panel_load_sliding_panel_from_gconf),
              (panel_load_drawer_panel_from_gconf),
              (panel_load_floating_panel_from_gconf),
              (panel_load_panel_from_gconf): split our from
              load_panels_from_gconf().
      
              * aligned-widget.[ch], basep-widget.[ch],
                border-widget.[ch], drawer-widget.[ch],
                edge-widget.[ch], floating-widget.[ch]
                panel-widget.[ch], sliding-widget.[ch]:
              s/char */const char */ for couple of params.
      c9d94864
  17. 16 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      Make it possible to perform all relevant drops for a panel on the drawer · 028a709b
      Mark McLoughlin authored
      2002-12-16  Mark McLoughlin  <mark@skynet.ie>
      
              Make it possible to perform all relevant drops
              for a panel on the drawer button. Fixes #100965.
      
              * drawer.[ch]:
              (destroy_drawer): remove close timeout.
              (drag_data_received_cb),
              (drag_motion_cb), (close_drawer_in_idle),
              (queue_drawer_close_for_drag), (drag_leave_cb),
              (drag_drop_cb): impl.
              (create_drawer_applet): hook up dnd signals.
      
              * panel.[ch]:
              (panel_check_dnd_target_data),
              (panel_check_drop_forbidden),
              (panel_receive_dnd_data): split out parts of the
              panel dnd implementation so that the drawer can
              use it.
              (drag_data_recieved_cb), (drag_motion_cb),
              (drag_drop_cb): use it here also.
      028a709b
  18. 09 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      Fixes #100650, based on a patch from Arvind. · 56893c99
      Mark McLoughlin authored
      2002-12-10  Mark McLoughlin  <mark@skynet.ie>
      
              Fixes #100650, based on a patch from Arvind.
      
              * applet.[ch]:
              (panel_applet_remove_in_idle): new function.
              (applet_remove_callback): use it.
      
              * panel.c: (drop_internal_icon): remove the
              applet permanently rather than just destroying
              the widget.
      56893c99
  19. 07 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      Revert unapproved commit. · 868d21b6
      Mark McLoughlin authored
      2002-12-08  Mark McLoughlin  <mark@skynet.ie>
      
              * menu.c, panel-config-global.c, panel-config-global.h,
              panel-global-config.schemas.in, panel.c: Revert unapproved
              commit.
      868d21b6
  20. 06 Dec, 2002 1 commit
  21. 04 Dec, 2002 1 commit
    • Mark McLoughlin's avatar
      Re-write the background rendering code to be less buggy and to be less · 351a6ca1
      Mark McLoughlin authored
      2002-12-04  Mark McLoughlin  <mark@skynet.ie>
      
      	Re-write the background rendering code to be
      	less buggy and to be less resource hungry for
      	opaque backgrounds. Code is a lot clearer now.
      
      	* Makefile.am: add panel-background.[ch] to the
      	build.
      
      	* panel-background.[ch]: re-written implementation
      	of the background rendering. Less resource hungry
      	for non-alpha backgrounds and colours. And a lot,
      	lot less buggy.
      
      	* launcher.c: include egg-screen-exec.h to fix
      	warning.
      
      	* menu.c: (create_new_panel): initialise colour
      	correctly.
      
      	* panel-applet-frame.c:
      	(panel_applet_frame_get_background_string): move the
      	implementation of this to panel-background.c.
      	(panel_applet_frame_change_background),
      	(panel_applet_frame_construct_moniker): upd.
      
      	* panel-background-monitor.[ch]:
      	(panel_background_monitor_finalize): don't unref
      	NULL references.
      	(panel_background_monitor_get): ref the return
      	value so we can destroy it when not needed.
      	(panel_background_monitor_setup_pixmap): don't leak
      	the property data.
      	(panel_background_monitor_get_widget_background): kill.
      
      	* panel-types.h: rename PanelBackType to PanelBackgroundType
      	and PANEL_BACK_PIXMAP to PANEL_BACK_IMAGE.
      
      	* panel-widget.[ch]: Kill all the old background code and:
      	(panel_widget_style_set), (panel_widget_state_changed):
      	set the theme defaults on the PanelBackground when they change.
      	(toplevel_configure_event): change the desktop background
      	region when the toplevel is moved or resized.
      	(panel_widget_realize), (panel_widget_unrealize): impl
      
      	* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
      	  drawer-widget.[ch], edge-widget.[ch], floating-widget.[ch],
      	  panel-config.[ch], panel-util.c, panel.c, sliding-widget.[ch]:
      	Mucho minor and boring updates for changes in the various
      	background structs and enums.
      351a6ca1
  22. 03 Dec, 2002 2 commits
  23. 17 Nov, 2002 1 commit
    • Mark McLoughlin's avatar
      s/no_background/no-background/. Fixes #98565. · 9831e543
      Mark McLoughlin authored
      2002-11-17  Mark McLoughlin  <mark@skynet.ie>
      
              * panel.c: (panel_load_panels_from_gconf):
              s/no_background/no-background/. Fixes #98565.
      
              * applet.c: (panel_applet_load_from_unique_id):
              * gnome-panel-preferences.c: (load_animation_menu):
              * panel-config-global.c: (panel_global_config_set_entry):
              * panel.c: (panel_load_panels_from_gconf): Learn from that
              lesson and audit all usage of gconf_string_to_enum to
              not rely on the enum value being initialised.
      
              * panel-gconf.[ch]: kill panel_gconf_string_to_enum().
      9831e543
  24. 01 Nov, 2002 1 commit
    • Mark McLoughlin's avatar
      Add support for translucent panels. Based on a patch from Ian McKellar · 382d144e
      Mark McLoughlin authored
      2002-11-01  Mark McLoughlin  <mark@skynet.ie>
      
      	Add support for translucent panels. Based on a patch
      	from Ian McKellar <yakk@yakk.net>. This is still
      	quite buggy but its a step forward.
      
      	* Makefile.am: remove rgb-stuff.[ch] from the build
      	and add panel-gdk-pixbuf-extensions.[ch] and
      	panel-background-monitor.[ch].
      
      	* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
      	  drawer-widget.[ch], edge-widget.[ch], floating-widget.[ch],
      	  sliding-widget.[ch]: all the _new() and change_params()
      	functions take a PanelColor instead of a GdkColor now.
      
      	* basep-widget.c: (basep_update_frame): remove the frame
      	if its a colour background also.
      
      	* menu.c: (about_cb): Add Ian.
      
      	* panel-applet-frame.c: (panel_applet_frame_get_background_string):
      	pass the xid of the background pixmap, not the panel window, to
      	the applet. Doh.
      
      	* panel-background-monitor.[ch]: New object to monitor changes
      	on the desktop background.
      
      	* panel-config.[ch]: (update_config_back), (color_set_cb),
      	(background_page): Add support for configuring the alpha channel
      	in the background colour.
      
      	* panel-gdk-pixbuf-extensions.[ch]: copy from eel-gdk-pixbuf-extensions
      	for eel_gdk_pixbuf_draw_to_pixbuf_tiled(), but remove all other
      	extensions, reduce dependancies and remove the abstraction to allow
      	rendering into either a drawable or a pixbuf.
      
      	* panel-types.h: add PanelColor.
      
      	* panel-util.c: (set_color_back): upd for use of PanelColor.
      
      	* panel-widget.[ch]: More or less completely re-write the background
      	rendering code. Both image and color backgrounds are not composited
      	onto the desktop background image. This still needs work - bugs
      	abound.
      
      	* panel.c:
      	(panel_load_panels_from_gconf),
      	(panel_save_to_gconf): save the alpha channel of the color background.
      
      	* rgb-stuff.[ch]: remove. We no longer use libart to scale and rotate
      	pixbufs. We just use gdk-pixbuf directly.
      382d144e
  25. 15 Oct, 2002 1 commit
    • Brian Cameron's avatar
      Removeved calls to gconf_client_suggest_sync since this synching is not · a371c364
      Brian Cameron authored
      2002-10-15  Brian Cameron <Brian.Cameron@sun.com>
      
          * gnome-panel/panel.c, gnome-panel/session.c,
          gnome-panel/applet.c:  Removeved calls to
          gconf_client_suggest_sync since this synching is
          not necessary.  Performance analysis highlighted
          that gnome-panel was causing >100 syncs to happen
          (with ~10 items in the panel).
      a371c364
  26. 24 Sep, 2002 1 commit
    • Mark McLoughlin's avatar
      Add a new PanelActionButton widget so we can generically do action · ca58baab
      Mark McLoughlin authored
      2002-09-24  Mark McLoughlin  <mark@skynet.ie>
      
              Add a new PanelActionButton widget so we can
              generically do action buttons. Fixes #84740.
      
              * Makefile.am: remove logout.[ch] from the build
              and add panel-action-button.[ch]. Also generate
              enums from panel-action-button.h.
      
              * applet.[ch]: add support for a generic "action button"
              applet and convert old lock/logout buttons into one of
              these for backwards compat.
      
              * foobar-widget.c: (append_actions_menu): use action
              callback from panel-action-button.h and setup dnd
              for screenshot, run and search menu items. Remove
              "Show Desktop" menu item.
      
              * logout.[ch]: remove.
      
              * menu.c:
              (add_action_button_to_panel): impl.
              (make_add_submenu): add screenshot, run and search
              buttons.
              (create_desktop_menu), (create_root_menu): setup
              dnd for screenshot, run and search menu items.
      
              * panel.c: (drop_internal_applet): impl new dnd
              for action buttons.
      
              * xstuff.[ch]: (xstuff_show_desktop): remove.
      ca58baab
  27. 16 Sep, 2002 1 commit
    • Mark McLoughlin's avatar
      kill multihead-hacks.h · a53f1b60
      Mark McLoughlin authored
      2002-09-16  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am, multihead-hacks.h: kill multihead-hacks.h
      
              * applet.c, basep-widget.c, button-widget.c, foobar-widget.c,
                global-keys.c, gnome-desktop-item-edit.c, gnome-run.c,
                launcher.c, logout.c, menu-ditem.c, menu-util.c, menu.c,
                multiscreen-stuff.c, panel-applet-frame.c, panel-config.c,
                panel-shell.c, panel-util.c, panel.c, xstuff.c: remove all
              multihead conditionals as we require gtk+ 2.1.0 now.
      a53f1b60
  28. 12 Sep, 2002 1 commit
  29. 11 Sep, 2002 1 commit
    • Mark McLoughlin's avatar
      Fixes #90317 by explicitly destroying panels on receipt of a Die from the · ab2e5826
      Mark McLoughlin authored
      2002-09-12  Mark McLoughlin  <mark@skynet.ie>
      
              Fixes #90317 by explicitly destroying panels on receipt
              of a Die from the session manager rather than just
              exiting the mainloop. Apparently embedded out of process
              embedded windows don't cope with this too well - thanks
              to Owen for pointing this fact out.
      
              * applet.c:
              (panel_applet_clean): do anything required to effect
              permanent removal of the applet here.
              (applet_idle_remove): kill set_clean_remove stuff.
              (panel_applet_destroy): only clear up our data and refs
              here rather than permanently removing the applet.
      
              * basep-widget.c: remove some bogus whitepsace.
      
              * menu.c: (remove_panel_accept): if the panel is a drawer,
              then also remove the associated applet. Permanently remove
              the panel here.
      
              * panel-applet-frame.[ch]:
              (panel_applet_set_clean_remove),
              (panel_applet_get_clean_remove), (popup_handle_remove),
              (panel_applet_frame_instance_init): kill unused 'clean_remove'
              stuff. No idea how/why that got there.
      
              * panel-widget.c:
              (panel_widget_finalize): don't remove the panel from the
              global list again.
              (panel_widget_destroy): don't permanently remove the panel
              from here.
              * panel.c:
      
              (panel_remove_applets): kill 'clean_remove' stuff.
              (panel_destroy): don't remove the applet associated with
              the drawer here.
      
              * session.c: (panel_session_die): iterate over a copy of
              the global list of panels and destroy them.
      ab2e5826
  30. 25 Aug, 2002 1 commit
  31. 30 Jul, 2002 1 commit
  32. 19 Jul, 2002 2 commits
    • Frederic Crozat's avatar
      correctly handle dropping .desktop on panel · 6203f084
      Frederic Crozat authored
      2002-07-19  Frederic Crozat  <fcrozat@mandrakesoft.com>
      
      * gnome-panel/panel.c: (drop_urilist):
      correctly handle dropping .desktop on panel
      6203f084
    • Mark McLoughlin's avatar
      Based on patch from Arvind to fix #88430. · 5a309dd8
      Mark McLoughlin authored
      2002-07-19  Mark McLoughlin  <mark@skynet.ie>
      
              Based on patch from Arvind to fix #88430.
      
              * launcher.[ch]:
              (launcher_properties_destroy): impl to destroy the properties dialog.
              (destroy_launcher): use it.
      
              * panel.c: (panel_remove_applets): ditto.
      5a309dd8
  33. 09 Jul, 2002 1 commit
    • Mark McLoughlin's avatar
      impl with a fallback argument. Fixes #87133. · 8b1be557
      Mark McLoughlin authored
      2002-07-09  Mark McLoughlin  <mark@skynet.ie>
      
              * panel-gconf.[ch]: (panel_gconf_string_to_enum): impl
              with a fallback argument. Fixes #87133.
      
              * gnome-panel-preferences.c: (load_animation_menu): use
              panel_gconf_string_to_enum.
      
              * panel-config-global.c: (panel_global_config_set_entry):
              ditto.
      
              * panel.c: (panel_load_panels_from_gconf): ditto.
      8b1be557
  34. 30 Jun, 2002 1 commit
    • Mark McLoughlin's avatar
      move here from applet.c · 82d39e5b
      Mark McLoughlin authored
      2002-07-01  Mark McLoughlin  <mark@skynet.ie>
      
              * panel.c: (drag_data_recieved_cb), (panel_monitor_from_toplevel),
              (panel_is_applet_right_stick): move here from applet.c
      
              * panel-applet-frame.[ch]:
              (panel_applet_frame_load): add exactpos param and pass to
              panel_applet_register.
              (panel_applet_frame_load_from_gconf), pass exactpos = TRUE.
              (panel_applet_frame_reload_response): ditto.
      
              * applet.h: kill panel_applet_get_right_stick.
      
              * applet.c: (panel_applet_save_position): update for right_stick ()
              change.
      
              * menu.c: (add_bonobo_applet): add exactpos = FALSE.
      82d39e5b