1. 08 May, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Increase the paranoia level when dealing with strings. Add an assload of · fe399963
      Jiri (George) Lebl authored
      Tue May 08 12:41:41 2001  George Lebl <jirka@5z.com>
      
      	* extern.c, foobar-widget.c, gnome-panel-properties.c, launcher.c,
      	  logout.c, menu-rh.c, menu.c, panel-util.c, panel.c:  Increase
      	  the paranoia level when dealing with strings.  Add an assload of
      	  checks for NULLs some preconditions asserts and warnings, possibly
      	  fixing some cornercase crashes.
      
      	* foobar-widget.c: Fix the "clicked on foobar tasklist and things
      	  crashed" bug
      
      	* menu-fentry.c:  Fix the crashes on startup bug (the /tmp/languages
      	  bug).  I should be publically flogged for this one.
      fe399963
  2. 29 Apr, 2001 1 commit
  3. 23 Apr, 2001 1 commit
    • Jiri (George) Lebl's avatar
      When an applet doesn't want session saving, don't bother trying to restart · 2c1c8841
      Jiri (George) Lebl authored
      Sun Apr 22 21:59:04 2001  George Lebl <jirka@5z.com>
      
      	* extern.[ch]:  When an applet doesn't want session saving, don't
      	  bother trying to restart it.
      
      	* extern.[ch], session.c, panel.c, menu.c, launcher.c, applet.c:
      	  Save last location for a goad_id, and if an applet was started
      	  without specifying a position, then use this one.  This makes say
      	  the xchat applet always show up at the same place.  It also
      	  makes re-adding applets smarter.
      2c1c8841
  4. 22 Apr, 2001 1 commit
  5. 29 Mar, 2001 1 commit
    • Jiri (George) Lebl's avatar
      remove the configure hack as apparently sawfish isn't too happy with it, · d9dba830
      Jiri (George) Lebl authored
      Thu Mar 29 11:46:53 2001  George Lebl <jirka@5z.com>
      
      	* basep-widget.c, foobar-widget.c:  remove the configure hack as
      	  apparently sawfish isn't too happy with it, this reintroduces the
      	  bug where you can lose panels by dragging them off in deskguide,
      	  but oh well.
      
      	* extern.c: make the "loading" image be 18x18 instead of 24x24 to fix
      	  bugs with drivemounts being separated
      
      	* xstuff.c: ignore panel windows when checking for swallows and
      	  status windows, and don't check for status windows on task changes,
      	  just on task new.
      d9dba830
  6. 12 Mar, 2001 1 commit
  7. 12 Feb, 2001 1 commit
  8. 10 Feb, 2001 1 commit
  9. 06 Jan, 2001 1 commit
  10. 03 Jan, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Implement launch_an_applet. It's very simple really, activate the applet, · 7292245f
      Jiri (George) Lebl authored
      Tue Jan 02 20:44:47 2001  George Lebl <jirka@5z.com>
      
      	* extern.c:  Implement launch_an_applet.  It's very simple really,
      	  activate the applet, and then if we get an applet with such a
      	  goad_id, use the PanelAppletBooter interface to bootstrap it, and
      	  leave the rest to whatever wanted the applet in the first place.
      
      	* button-widget.c: fix warning
      7292245f
  11. 01 Jan, 2001 1 commit
  12. 31 Dec, 2000 2 commits
  13. 21 Dec, 2000 1 commit
  14. 18 Dec, 2000 1 commit
  15. 17 Dec, 2000 1 commit
  16. 06 Dec, 2000 1 commit
  17. 19 Nov, 2000 1 commit
  18. 15 Nov, 2000 1 commit
    • Jiri (George) Lebl's avatar
      We don't actually need gwmdesktop and gwmthumbnail, they are not used · 3d30ef63
      Jiri (George) Lebl authored
      Wed Nov 15 00:13:38 2000  George Lebl <jirka@5z.com>
      
      	* Makefile.am, gwmthumbnail.c:  We don't actually need gwmdesktop
      	  and gwmthumbnail, they are not used anywhere int he panel, thus
      	  they are now gone, this removes some weirdness
      
      	* extern.c: Whoever heard of the "mail menu" it's "main menu" :)
      	  /me beats self
      
      	* foobar-widget.c:  cleanup, set the icon even for skiplist windows
      	  so that the icon is better up to date to the actual focused window,
      	  only set up the tasklist stuff after foobar was realized, also
      	  don't use the pixmap menu item here, but just a normal item with an
      	  alignment in it.  Only check for the default icon once and avoid
      	  warnings if it doesn't exist.  On setup of the tasklist menu, set
      	  the current focused icon
      
      	* taslkist_icon.c: cleanup, and use the existing
      	  get_typed_property_data routine from xstuff.  Also fix leaks
      	  in the mini icon handling, and fix a possible crash.  Also
      	  push error traps for both functions
      3d30ef63
  19. 14 Nov, 2000 1 commit
  20. 09 Nov, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Remember the last known config for applets, add a signal (quite hackish) · a4c6d277
      Jiri (George) Lebl authored
      Wed Nov 08 21:40:46 2000  George Lebl <jirka@5z.com>
      
      	* applet.c, extern.[ch], launcher.c, panel-widget.[ch], panel.c,
      	  session.c:  Remember the last known config for applets, add a
      	  signal (quite hackish) to figure out when an applet is about to
      	  die.  If an applet dies unexpectadly (without being removed by user
      	  or calling unregister_us), then display a dialog box and allow the
      	  user to readd the applet with it's last saved settings.  This
      	  should reduce the "where did my <insert name of applet>" go and
      	  how do I get it back.
      a4c6d277
  21. 03 Nov, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Implement the Panel2 interface. · f1169401
      Jiri (George) Lebl authored
      Thu Nov 02 21:27:28 2000  George Lebl <jirka@5z.com>
      
      	* extern.c, panel.gnorba: Implement the Panel2 interface.
      
      	* applet.c, panel-widget.c, panel.c: minor cosmetic cleanup
      
      	* Makefile.am, gnome-panel-add-launcher.c:  Add a proggie to add
      	  launchers externally.  Let's not doc this so that that many
      	  people don't use it as it could become annoying, but major apps
      	  may want to use it to optionally add their launcher to the panel.
      	  note here, it should be OPTIONAL! in the installer, otherwise I'm
      	  going to go after each and every dumbass who made it install an
      	  icon without asking the user with a chainsaw.  If it becomes a
      	  bother I'll stick in a confirmation dialog in these funcs.
      f1169401
  22. 29 Sep, 2000 2 commits
    • Jacob "Ulysses" Berkman's avatar
      pass a GtkWidget · 18cf1ea4
      Jacob "Ulysses" Berkman authored
      2000-09-29  Jacob "Ulysses" Berkman  <jacob@helixcode.com>
      
      	* logout.c (logout):
      	* launcher.c (launch): pass a GtkWidget
      
      	* extern.c (extern_unref): this function returns void
      
      	* drawer.c (drawer_click): don't case to a BaseP
      	(load_drawer_applet): only autoshow if it is a BaseP
      
      	* drawer-widget.h: update API to use GtkWidgets
      
      	* drawer-widget.c (drawer_widget_open_drawer):
      	(drawer_widget_close_drawer): take a GtkWidget as the second
      	parameter since a foobar is not a basep
      	(drawer_pos_hidebutton_click): pass a GtkWidget and not a BaseP
      18cf1ea4
    • 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
  23. 10 Sep, 2000 1 commit
  24. 24 Mar, 2000 2 commits
    • Jiri (George) Lebl's avatar
      don't clean *.signals so that "make clean;make" works · ebf370ae
      Jiri (George) Lebl authored
      Fri Mar 24 15:44:34 2000  George Lebl <jirka@5z.com>
      
      	* doc/Makefile.am: don't clean *.signals so that "make clean;make"
      	  works
      
        	* button-widget.[ch]: sanitize a bit s/gint/gboolean/ where
      	  appropriate and add a whole bunch of precondition checks
      
        	* gnome-panel-properties.c: change "Applets" tab to "Panel Objects",
      	  "Applet padding" to "Padding", and "Panel menu" to "Global menu",
        	  also correct capitalization on "Button type", "Normal tile",
        	  "Clicked tile"
      
        	* foobar-widget.c: include panel-util.h
      
      	* panel-types.h: add a comment about number of _TILE enums
      
      	* extern.c, gnome-run.c: fix warnings
      ebf370ae
    • George Lebl's avatar
  25. 23 Mar, 2000 1 commit
    • Jiri (George) Lebl's avatar
      the do_draw applet signal is now sent only when it is very likely that the · 2c058745
      Jiri (George) Lebl authored
      Wed Mar 22 17:08:35 2000  George Lebl <jirka@5z.com>
      
      	* panel-widget.c,extern.[ch],panel.c: the do_draw applet signal is
      	  now sent only when it is very likely that the rgb has changed,
        	  this makes it much nicer on system resources then before.  Also
        	  optimized the sending of the stuff over corba so that it doesn't
        	  get sent too many times right after each other.
      2c058745
  26. 20 Mar, 2000 1 commit
  27. 28 Feb, 2000 2 commits
    • Jiri (George) Lebl's avatar
      pass around a "title" boolean, also setup the prototypes correctly and · baa43d3e
      Jiri (George) Lebl authored
      Mon Feb 28 05:29:30 2000  George Lebl <jirka@5z.com>
      
      	* menu.[ch],menu-fentry.h,foobar-widget.[ch]: pass around a "title"
      	  boolean, also setup the prototypes correctly and randomly cleanup
        	  code and rerevert some accidentally reverted changes.  Also fixed
        	  a whole bunch of warnings and other such stuff.
      
        	* extern.c: remove some dead code
      
      	* button-widget.c: handle foobar-widget
      baa43d3e
    • 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
  28. 14 Feb, 2000 1 commit
    • Jiri (George) Lebl's avatar
      instead of adding gtkplug to a gtksocket do a slight hack. Since the user · aa236a74
      Jiri (George) Lebl authored
      Sun Feb 13 21:54:26 2000  George Lebl <jirka@5z.com>
      
      	* applet-widget.c,extern.c,applet.c: instead of adding gtkplug to
      	  a gtksocket do a slight hack.  Since the user can add only one
        	  widget and needs to use applet_widget_add, we don't really care if
        	  the applet is the real gtk parent.  So if we find the socket
        	  widget, we rip it out of it's event box and stick it into a
        	  temporary offscreen window.  Then on applet_widget_add we stick the
        	  given widget into the eventbox
      
        	* button-widget.c: add a debugging puts since I need to find that
      	  frozen buttons bug
      
        	* panel-widget.c: fix the scheduling of the moving.
      aa236a74
  29. 08 Feb, 2000 2 commits
  30. 07 Feb, 2000 1 commit
    • Jiri (George) Lebl's avatar
      remove old size stuff · 5b119445
      Jiri (George) Lebl authored
      Mon Feb 07 14:47:18 2000  George Lebl <jirka@5z.com>
      
      	* applet-widget.[ch]: remove old size stuff
      
      	* applet-widget.c,extern.c: match corba functions to their prototype
      	  to avoid the ugly (gpointer)& hack and to catch mismatches in
      	  prototypes (a bunch was there)
      5b119445
  31. 31 Jan, 2000 1 commit
  32. 27 Jan, 2000 1 commit
  33. 26 Jan, 2000 2 commits
    • Jiri (George) Lebl's avatar
      don't use g_return.*_if_fail stuff for error returning and use · 9b5e8d04
      Jiri (George) Lebl authored
      Wed Jan 26 21:49:48 2000  George Lebl <jirka@5z.com>
      
      	* applet-widget.c,extern.c: don't use g_return.*_if_fail stuff
      	  for error returning and use pg_return.*_if_fail macros for corba
      	  exception checking
      9b5e8d04
    • Jiri (George) Lebl's avatar
      pedantic warning fixes · c2a514e1
      Jiri (George) Lebl authored
      Wed Jan 26 20:52:55 2000  George Lebl <jirka@5z.com>
      
      	* *.[ch]: pedantic warning fixes
      
      	* menu.c,drawer.[ch]: return boolean from load_drawer_applet and
      	  when adding a menu as a drawer check this and exit properly
      
      	* basep-widget.[ch],*-widget.c: all the guint16/gint16/gint stuff
      	  especially around pointers is replaced by int and we no longer
      	  assume types inside the GtkAllocation and GtkRequisition structure
      c2a514e1
  34. 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