1. 28 Nov, 2001 1 commit
    • Mark McLoughlin's avatar
      don't build extern.[ch]. · d86470f2
      Mark McLoughlin authored
      2001-11-28  Mark McLoughlin  <mark@skynet.ie>
      
              * Makefile.am: don't build extern.[ch].
      
              * applet.c:
              (applet_idle_remove): handle bonobo applets, remove
              extern stuff.
              (applet_remove_callback): use g_idle_add.
              (applet_callback_callback): fixme for bonobo applets,
              remove extern stuff.
      
              * applet.h: kill extern stuff.
      
              * main.c: don't include extern.h. kill panel_in_startup.
              (main): move panel shell registration to panel-shell.h.
      
              * menu.c:
              (add_test_applet): kill.
              (add_applet): kill.
              (make_add_submenu): kill testing menuitem.
      
              * panel-applet-frame.[ch]:
              (panel_applet_frame_save_position): impl stub.
      
              * panel-shell.[ch]:
              (panel_shell_show_error_dialog): impl.
              (panel_shell_register), (panel_shell_unregister): impl.
      
              * panel.c: kill freeze/thaw changes stuff.
              (orientation_change), (size_change),
              (back_change): kill extern handling.
              (panel_remove_applets): handle bonobo applets.
              (panel_applet_draw): kill.
              (panel_applet_about_to_die): fixme.
              (drag_data_recieved_cb): fixme.
              (panel_widget_setup): don't connect to draw signal.
      
              * panel_config.c: (config_apply): don't freeze/thaw.
      
              * session.c:
              (send_tooltips_state): kill.
              (send_applet_session_save): kill.
              (save_applet_configuration): kill extern stuff.
              (panel_session_die): add bonobo applets support.
              (try_evil_config_hacks): kill.
              (init_user_applets): handle bonobo applets.
      
              * logout.c: don't include extern.h
      
              * status.c: ditto.
      
              * swallow.c: ditto.
      d86470f2
  2. 09 Nov, 2001 5 commits
    • Mark McLoughlin's avatar
      move dead launchers stuff in here. · e0c694b8
      Mark McLoughlin authored
      2001-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              * session.c, session.h: move dead launchers stuff in here.
      
              * applet.c, applet.h: update.
      e0c694b8
    • Mark McLoughlin's avatar
      bit of namespace loving. · 7fffbf1a
      Mark McLoughlin authored
      2001-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              * applet.c, applet.h: bit of namespace loving.
      
              * drawer.c, extern.c, gnome-run.c, launcher.c,
                logout.c, menu-properties.c, menu.c,
                panel-applet-frame.c, panel.c, session.c,
                status.c, swallow.c: update.
      7fffbf1a
    • Mark McLoughlin's avatar
      kill horrible applets_last hack. · 0f2bf428
      Mark McLoughlin authored
      2001-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              * applet.c, applet.h: kill horrible applets_last hack.
      
              * drawer.c: (load_drawer_applet):
              * drawer.h:
              * extern.c: (reserve_applet_spot):
              * gnome-panel-properties.c:
              * gnome-run.c: (load_run_applet):
              * launcher.c: (load_launcher_applet_full):
              * logout.c: (load_logout_applet), (load_lock_applet):
              * menu.c: (add_drawers_from_dir), (load_menu_applet):
              * panel-applet-frame.c: (panel_bonobo_applet_load):
              * panel.c: (panel_applet_added), (drag_data_recieved_cb):
              * status.c: (load_status_applet):
              * swallow.c: (load_swallow_applet): update to use return val
              of panel_applet_register instead of applets_last.
      0f2bf428
    • Mark McLoughlin's avatar
      reviewed by: <delete if not using a buddy> · 2486a0b3
      Mark McLoughlin authored
      2001-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              reviewed by: <delete if not using a buddy>
      
              * applet.c, applet.h: (panel_register_applet): renamed from
              register_toy. Return an AppletInfo *.
      
              * drawer.c: (load_drawer_applet):
              * extern.c: (reserve_applet_spot):
              * gnome-run.c: (load_run_applet):
              * launcher.c: (load_launcher_applet_full):
              * logout.c: (load_logout_applet), (load_lock_applet):
              * menu.c: (load_menu_applet):
              * panel-applet-frame.c: (panel_bonobo_applet_load):
              * panel.c: (panel_applet_added), (drag_data_recieved_cb):
              * status.c: (load_status_applet):
              * swallow.c: (load_swallow_applet): update.
      2486a0b3
    • Mark McLoughlin's avatar
      tidy up popup menu handling. · 7cb7127c
      Mark McLoughlin authored
      2001-11-09  Mark McLoughlin  <mark@skynet.ie>
      
              * applet.c: tidy up popup menu handling.
      
              * applet.h: (show_applet_menu): privatise.
      
              * basep-widget.c, border-widget.c, extern.c, menu-util.c:
      
              * menu.c: (show_item_menu_b_cb): kill unused.
      7cb7127c
  3. 01 Nov, 2001 1 commit
    • Mark McLoughlin's avatar
      A first stab at BonoboControl based applets. It works suprisingly well for · 79fcbf9c
      Mark McLoughlin authored
      2001-11-01  Mark McLoughlin  <mark@skynet.ie>
      
              A first stab at BonoboControl based applets. It works
              suprisingly well for 84 lines of code :)
      
              * panel-applet-frame.c, panel-applet-frame.h: new files.
              BonoboControl based applet support.
      
              * applet.h: add new AppletType - APPLET_BONOBO.
      
              * menu.c: (add_test_bonobo_applet): impl.
              (make_add_submenu): add new menuitem to activate a
              test bonobo applet.
      
              * test-bonobo-applet.c: BonoboControl based test applet.
      
              * GNOME_Panel_TestApplet.server.in: add TestBonoboApplet.
      
              * Makefile.am: upd.
      79fcbf9c
  4. 31 Oct, 2001 1 commit
    • Mark McLoughlin's avatar
      kill old goad factory stuff. · 932f2dc1
      Mark McLoughlin authored
      2001-10-31  Mark McLoughlin  <mark@skynet.ie>
      
              * applet-widget.c: kill old goad factory stuff.
      
              * applet.c, applet.h, extern.c, panel-widget.c:
              move various definitions of APPLET_EVENT_MASK to
              applet.h.
      932f2dc1
  5. 06 Aug, 2001 2 commits
  6. 14 Nov, 2000 1 commit
    • Jiri (George) Lebl's avatar
      set the panel hints on drawers again (doh!) · b8859b73
      Jiri (George) Lebl authored
      Tue Nov 14 00:47:51 2000  George Lebl <jirka@5z.com>
      
      	* basep-widget.c: set the panel hints on drawers again (doh!)
      
      	* applet.[ch], menu-properties.c:  A bunch of cleanup, also in
      	  the apply function we only do things when they are really
      	  neccessary, also reduce the amount of statting on each apply by
      	  caching the availability of gmenu
      
      	* foobar-widget.c: use %l and not %I for the 12 hour format hour
      	  thing, this will not zero pad the hours which is wrong (it looks
      	  like 24 hour format then)
      b8859b73
  7. 29 Sep, 2000 1 commit
    • Jiri (George) Lebl's avatar
      cleaner checking for if a child was added, to know when to call abort · a5ffe049
      Jiri (George) Lebl authored
      Thu Sep 28 19:50:25 2000  George Lebl <jirka@5z.com>
      
      	* applet-widget.c: cleaner checking for if a child was added,
      	  to know when to call abort load, and some other minor cleanups
      
      	* applet.c, launcher.[ch], session.[ch]: store launchers in better
      	  paths, and keep the filename constant.  Also allows us to save a
      	  .desktop file without having to save the entire session.  This
      	  reduces the need for temporary file mess and reduces races.  The
      	  downside is no code for per-session panel config, but that's
      	  mostly broken anyway
      
      	* applet.[ch], launcher.c, drawer.c, logout.c, menu.c, gnome-run.c,
      	  status.c, swallow.c:  Add a destroy notify to the AppletInfo.
      	  use it to destroy the per applet structures.
      a5ffe049
  8. 02 Apr, 2000 1 commit
    • Jiri (George) Lebl's avatar
      added one more special applet icon for the gnome-run thing. To make it · ce0c18d5
      Jiri (George) Lebl authored
      Sun Apr 02 15:43:23 2000  George Lebl <jirka@5z.com>
      
      	* gnome-run.[ch],menu.c,sesssion.c,applet.h: added one more special
      	  applet icon for the gnome-run thing.  To make it consistent and be
        	  able to drag it onto the panel just like logout or lock
      
        	* foobar-widget.c: just move gnome-run.h below all the includes
      ce0c18d5
  9. 28 Feb, 2000 1 commit
    • Jacob Berkman's avatar
      implement george's idea of a panel with menu items on it · 5d9c78af
      Jacob Berkman authored
      2000-02-28  Jacob Berkman  <jacob@helixcode.com>
      
      * foobar-widget.[ch]: implement george's idea of a panel with
      menu items on it
      
      * sliding-widget.c (sliding_pos_get_pos): minimum Y is foobar
      height
      
      * session.c (save_panel_configuration): handle a foobar
      (save_panel_configuration): only write basep stuff for
      basep widgets
      (init_user_panels): create a foobar
      
      * panel.c (panel_realize): update foobar hints
      (panel_destroy): get the right panel
      (make_popup_panel_menu): find out if we are a foobar or not
      (panel_event): handle the foobar
      (panel_setup): ditto
      
      * menu.[ch] (setup_internal_applet_drag): foobar needs this
      (create_menu_at): same
      (submenu_to_display): ditto
      (create_fake_menu_at): again
      (create_menu_at): one more time
      (create_menu_at_fr): does this need to be done?
      (find_empty_pos_array):
      (find_empty_pos_array): skip foobars
      (create_new_panel): create a foobar if there isn't one
      (create_add_panel_submenu): menu panel (foobar) item
      (status_unparent): get the correct panel for foobar/basep
      (remove_panel_query): get correct panel now that there are
      foobar widgets
      (panel_tearoff_new_menu): handle the foobar
      (make_properties_submenu): add foobar support
      (make_panel_submenu): add is_basp flag
      (make_panel_submenu): only have a properties menu if we are a basep
      (create_panel_submenu): is_basep flag
      (panel_menu_tearoff_new_menu): pass is_basep
      (create_root_menu): apply some fabric softener
      ... and so on
      
      * menu-util.c (panel_menu_position): deal with foobar
      (applet_menu_position): ditto
      
      * floating-widget.c (floating_pos_get_pos): minimum y is
      foobar height
      
      * extern.c (s_panelspot_show_menu): deal with the foobar
      
      * edge-widget.c (edge_pos_get_pos): if we are not on the bottom
      set y to foobar height
      
      * basep-widget.c (basep_widget_size_allocate): minimum y is height
      of foobar
      
      * applet.[ch] (create_applet_menu): take an 'is_basep' flag telling
      us if the basep properties menu should be shown
      
      * aligned-widget.c (aligned_pos_get_pos): minimum height is that
      of the foobar
      5d9c78af
  10. 22 Jan, 2000 1 commit
    • Jiri (George) Lebl's avatar
      always look for an empty spot first unless insert_at_pos is given. But · a0013689
      Jiri (George) Lebl authored
      Fri Jan 21 22:38:07 2000  George Lebl <jirka@5z.com>
      
      	* panel-widget.c: always look for an empty spot first unless
      	  insert_at_pos is given.  But then if that fails insert at
      	  pos.
      
      	* applet.[ch],menu.[ch],extern.[ch],drawer.[ch],logout.[ch],
      	  swallow.[ch],status.[ch],session.c,panel.c: take an extra
      	  argument to register_toy (exactpos) which specifies if to
      	  look for an open spot or to insert exactly.  All the
      	  load_*_applet have to take this parameter
      
      	* panel.c: cleanup the drop stuff.  use extract_uris and copy
      	  the extract_file func from HEAD gnome-libs and use that to get
      	  local filenames.
      a0013689
  11. 03 Dec, 1999 1 commit
  12. 28 Sep, 1999 1 commit
  13. 21 Aug, 1999 1 commit
  14. 27 May, 1999 1 commit
    • Jiri (George) Lebl's avatar
      modified the lock to use the same tile as logout, and make the name of · d49fc020
      Jiri (George) Lebl authored
      Wed May 26 20:39:20 1999  George Lebl  <jirka@5z.com>
      
              * panel-types.h,panel_config_global.c,logout.c: modified the
                lock to use the same tile as logout, and make the name of that
                tile "Miscellaneous" in the global properties
      
      Mon May 17 15:22:28 1999  Robert Brady  <rwb197@ecs.soton.ac.uk>
      
              * applet.h, logout.c, menu.c, menu.h, panel-types.h, panel.c,
                session.c : Added a menu option to create a "Lock Screen"
                button on the panel, similar to the "Logout" button.
      d49fc020
  15. 30 Dec, 1998 1 commit
  16. 14 Dec, 1998 1 commit
  17. 30 Aug, 1998 1 commit
    • Jiri (George) Lebl's avatar
      Cleaned up widget/applet_widget division · 97e28223
      Jiri (George) Lebl authored
      Sun Aug 30 13:33:48 1998  George Lebl  <jirka@5z.com>
      
              * applet.[ch],session.c,extern.c: Cleaned up widget/applet_widget
                division
      
              * applet.c: always "bind lower events" on panel_widget_add
      
              * panel_config.c: removed unused variable
      97e28223
  18. 29 Aug, 1998 1 commit
  19. 26 Aug, 1998 1 commit
    • Jiri (George) Lebl's avatar
      redid the icon stuff, now icons are windowless widgets which don't even · 2d7528fb
      Jiri (George) Lebl authored
      Wed Aug 26 02:14:11 1998  George Lebl  <jirka@5z.com>
      
              * button-widget.[ch],panel-widget.[ch]: redid the icon stuff, now
                icons are windowless widgets which don't even draw themselves,
                the panel is aware of them and draws them itself, this will in
                the very near future have support for tiles.
      
              * launcher.c: using the new button-widget as the widget instead of
                gnome-pixmap
      
              * panel-types.h: new file for global types
      
              * panel.c: support rightclick menus for no_window applets
      
              * applet.[ch]: export the show_applet_menu function
      2d7528fb
  20. 08 Aug, 1998 1 commit
  21. 24 Jul, 1998 1 commit
    • Jiri (George) Lebl's avatar
      moved panel menu creation to panel.c · 6d64e8a1
      Jiri (George) Lebl authored
      Fri Jul 24 02:15:03 1998  George Lebl  <jirka@5z.com>
      
              * applet.[ch],panel.[ch]: moved panel menu creation to panel.c
      
              * applet.c,panel.c: allow removing of panel with some applets
                in it (this was there because desctruction was not handeled
                properly before, but it is ok now, it will remove all applets
                inside a panel/drawer)
      
              * menu.c: changes to the "add to panel" code, a bit of cleanup,
                ability to add a clean root menu, ability to add drawers instead
                of just a menu
      6d64e8a1
  22. 22 Jul, 1998 1 commit
    • Jiri (George) Lebl's avatar
      major moving of code from one file to another, no bugs fixed or anything · f507c080
      Jiri (George) Lebl authored
      Wed Jul 22 02:05:49 1998  George Lebl  <jirka@5z.com>
      
              * *.(cc|c|h): major moving of code from one file to another, no
                bugs fixed or anything like that, it's purely moving of stuff
                around, all session stuff from main.c and panel.c is now in
                session.c, all applet stuff from panel.c is now in applet.c,
                all extern stuff from main.c and panel.c is now in extern.c,
                all panel stuff from main.c is now in panel.c, and and the
                exec-queue stuff from main.c is now in exec-queue.c. essentially
                panel.c is COMPLETELY different :)
      f507c080