1. 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
  2. 02 Nov, 2000 1 commit
  3. 11 Oct, 2000 1 commit
  4. 08 Oct, 2000 2 commits
    • Jiri (George) Lebl's avatar
      General cleanup and some const-ization of things. But mostly cosmetic · 085689ea
      Jiri (George) Lebl authored
      Sat Oct 07 23:44:48 2000  George Lebl <jirka@5z.com>
      
      	* applet-widget.c, applet.c, panel-util.[ch], launcher.[ch],
      	  menu.[ch], menu-properties.[ch], panel_config.c:  General cleanup
      	  and some const-ization of things.  But mostly cosmetic things.
      
      	* panel_config.c, launcher.c, menu.c, menu-properties.c:  Make sure
      	  a widget is focused after a dialog is shown
      
      	* menu.c: Always make the properties item sensitive, but if the
      	  item is not writable make the entire dialog unsensitive, so this
      	  way the user can inspect the info in the dentry, but not change it
      085689ea
    • Jiri (George) Lebl's avatar
      cleanup, minor leak fixes, some hack-explanatory comments · 0972fc2d
      Jiri (George) Lebl authored
      Sat Oct 07 21:03:40 2000  George Lebl <jirka@5z.com>
      
      	* launcher.c, menu.c, panel-util.[ch]: cleanup, minor leak fixes,
      	  some hack-explanatory comments
      
      	* menu.c: replace the property-box with a normal dialog that
      	  has immediate effect.  This is the last property dialog
      0972fc2d
  5. 30 Sep, 2000 1 commit
    • Jiri (George) Lebl's avatar
      fixup the menu properties to do immediate update and use a structure · 828574a0
      Jiri (George) Lebl authored
      Sat Sep 30 00:33:16 2000  George Lebl <jirka@5z.com>
      
      	* menu-properties.c, menu.[ch]: fixup the menu properties to do
      	  immediate update and use a structure instead of the object
      	  data for some nicer code.
      
      	* drawer.c: remove unused var
      
      	* launcher.c: make dialog creation not seg and add the _set_close
      	  call to the dialog (to false)
      828574a0
  6. 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
  7. 28 Sep, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Make, property dialogs (the panel one and launcher one only for now) not · 52bc07ce
      Jiri (George) Lebl authored
      Thu Sep 28 01:01:41 2000  George Lebl <jirka@5z.com>
      
      	* panel_config.[ch], drawer.c, launcher.[ch]: Make, property
      	  dialogs (the panel one and launcher one only for now) not modal
      	  and make them have immediate effect.  This is the way nautilus
      	  and actually most of the new apps work.
      
      	* launcher.[ch], session.[ch]: only schedule syncs, never force
      	  them.  This way syncs from launchers won't come closer together
      	  then 30 seconds.  Deal with the drag case where the launcher wasn't
      	  saved yet.
      52bc07ce
  8. 19 May, 2000 1 commit
    • Jiri (George) Lebl's avatar
      on "destroy" of gnome-dentry-edit, unref it, on _new sink/ref it. This is · d98c5023
      Jiri (George) Lebl authored
      Thu May 18 20:13:00 2000  George Lebl <jirka@5z.com>
      
      	* launcher.c, menu.c: on "destroy" of gnome-dentry-edit, unref it,
      	  on _new sink/ref it.  This is really ugly.  The problem is that
      	  gnome-dentry-edit destroys itself when it's notebook is destroyed.
      	  it should really unref self.  But we can't do that now to keep
      	  compat.  This works, but is ugly.  gnome-ditem-edit must be fixed!
      d98c5023
  9. 04 Apr, 2000 1 commit
  10. 27 Mar, 2000 2 commits
    • Jacob Berkman's avatar
      1.1.6 · 843f1e5f
      Jacob Berkman authored
      843f1e5f
    • Jacob Berkman's avatar
      convenience function for help showage · 8d8ad475
      Jacob Berkman authored
      2000-03-26  Jacob Berkman  <jacob@helixcode.com>
      
      * panel-util.[ch] (panel_pbox_help_cb): convenience function for
      help showage
      
      * launcher.c (create_properties_dialog):
      * menu-properties.c (create_properties_dialog):
      * menu.c (edit_direntry):
      * panel_config.c (panel_config): hook up some help buttons
      8d8ad475
  11. 24 Mar, 2000 2 commits
  12. 11 Mar, 2000 1 commit
    • Jiri (George) Lebl's avatar
      read/save the remove confirm flag fixes #7018 · 1533f4bf
      Jiri (George) Lebl authored
      Sat Mar 11 02:08:04 2000  George Lebl <jirka@5z.com>
      
      	* gnome-panel-properties.c: read/save the remove confirm flag fixes
      	  #7018
      
        	* session.c,menu.c,launcher.c,gnome-run.c,swallow.c: When the panels
      	  are on top, then put all dialogs above dock.  All except the
        	  properties dialog which I'm not sure about.  And only do it if
        	  the panels are really on to.
      1533f4bf
  13. 10 Feb, 2000 1 commit
    • Jiri (George) Lebl's avatar
      the event window is now made on the basep of the panel and spans the · 0b43e8fb
      Jiri (George) Lebl authored
      Wed Feb 09 18:09:20 2000  George Lebl <jirka@5z.com>
      
      	* button-widget.c: the event window is now made on the basep of
      	  the panel and spans the entire width of the panel.  This means that
      	  clicks along the edge will work just fine on the icons even if
      	  there is a frame or the panel is enlarged by some other applet.
      	  if the applet is on the absolute beginning or the end of the panel
      	  then the thing also expands to the edge of the inner frame.
      
      	* button-widget.[ch],launcher.c: do the dnd highlighting in the
      	  button widget xlib draw function because the gtk_drag_highlight
      	  won't handle our pixmap cache right.
      
      	* panel-widget.[ch],basep-widget.c: when the applet has no
      	  hidebuttons then don't pad applets on the ends
      0b43e8fb
  14. 30 Jan, 2000 1 commit
    • Jiri (George) Lebl's avatar
      move the drag_motion out of here · 5b3afb3c
      Jiri (George) Lebl authored
      Sun Jan 30 15:11:25 2000  George Lebl <jirka@5z.com>
      
      	* basep-widget.c: move the drag_motion out of here
      
      	* panel.c,launcher.c: do our own DND drop handeling so that we can
      	  correctly ignore certain drops, such as dropping a launcher on
      	  it's own panel, or on itself.  also unhide the panel on drag_motion
      5b3afb3c
  15. 26 Jan, 2000 1 commit
    • 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
  16. 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
  17. 21 Nov, 1999 1 commit
  18. 27 Oct, 1999 1 commit
  19. 21 Oct, 1999 4 commits
  20. 20 Oct, 1999 1 commit
    • Ettore Perazzoli's avatar
      add _() around warning string · abab8173
      Ettore Perazzoli authored
      Tue Oct 19 22:21:45 1999  George Lebl  <jirka@5z.com>
      
              * menu.c: add _() around warning string
      
              * from 1-0:
              Friday July 29, 1999 Elliot Lee <sopwith@redhat.com>
              * session.c: If not connected to session manager, exit the panel.
      
              * menu.c,launcher.c: mystery warning fixes from Elliot without a
                changelog
      
              * launcher.c: sync panel config after creating launcher, port
                of a mystery 1-0 fix for #900 by Elliot
      
              * from 1-0:
              1999-09-16  Ettore Perazzoli  <ettore@comm2000.it>
              * launcher.c (create_properties_dialog): Call
              `gnome_dialog_editable_enters()' on all the entries in the edit
              widget.
      
              * from 1-0:
              Tues Sep 21, 1999 Elliot Lee <sopwith@redhat.com>
              * session.c: Add gnome-terminal to the list of default launchers.
      abab8173
  21. 15 Oct, 1999 1 commit
    • Jiri (George) Lebl's avatar
      use gdk-pixbuf for everything, and use alpha channel for composition of · fa4209a2
      Jiri (George) Lebl authored
      Fri Oct 15 00:23:33 1999  George Lebl  <jirka@5z.com>
      
              * button-widget.[ch],panel-widget.[ch]: use gdk-pixbuf for
                everything, and use alpha channel for composition of icons and
                tiles onto the background
      
              * menu.c,menu-properties.c,logout.c,launcher.c,drawer.c,
                drawer-widget.c, basep-widget.c: minor cleanups wrt the
                button-widget change and panel_parent pointers
      fa4209a2
  22. 11 Oct, 1999 1 commit
  23. 28 Sep, 1999 1 commit
  24. 18 Sep, 1999 1 commit
    • Jacob Berkman's avatar
      make non-static so we can pass a dentry to this · d905093f
      Jacob Berkman authored
      1999-09-18  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* launcher.[ch] (load_launcher_applet_full): make non-static
      	so we can pass a dentry to this
      
      	* menu.c (add_drawers_from_dir): try loading the dentry;
      	if it fails don't add a launcher
      
      	* applet.c (create_applet_menu): add the warning back
      d905093f
  25. 17 Sep, 1999 1 commit
  26. 27 Aug, 1999 1 commit
  27. 20 Aug, 1999 1 commit
    • Jacob Berkman's avatar
      Merge from gnome-core-panel-1-1 · 36505594
      Jacob Berkman authored
      Currently settings will get a bit mangled when going between 1.0 and
      this.  This will be fixed soon.
      
      All settings are saved to ~/.gnome/panel.d/default/.  Owen, can you
      look to see if I did this right?
      
      1999-08-20  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* menu.c: s/GNOME menus/Programs/ s/User menus/Favorites/
      
      	* session.c (load_default_applets): added
      gnome-terminal.desktop
      
      	* menu.c (create_root_menu): use KDE_ICONDIR to get the
      exec.xpm
      	(create_kde_menu): ditto
      
      	* button-widget.c (button_widget_draw): don't draw the tile if
      	we are not in the button and we only draw when we are
      
      	* panel_config_global.h: added 'tile_when_over' variable
      
      	* panel_config_global.c (misc_notebook_page): added checkbox
      	for showing tiles only when the cursor is over
      
      	* session.c: save/load tile_when_over
      
      	* menu.c (update_hidebutton_menu): one stupid mistake...
      	(update_back_menu): two stupid mistakes...
      
      	changing properties from the menu now works :)
      
      1999-08-19  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* menu.c (make_properties_submenu): added properties for the
      	hide
      	mode, hidebuttons, size, background type  (these are broken
      	though)
      	(change_background):
      	(change_hidebuttons):
      	(change_size):
      	(change_hiding_mode):
      	(update_back_menu):
      	(update_size_menu):
      	(update_hidebutton_menu):
      	(update_hiding_menu): functions to support this
      	(add_radio_menu): convienence function
      
      	* basep-widget.c (basep_widget_autohide): fixed a bug wrt
      	changing modes
      
      	* aligned-widget.c (aligned_pos_show_hide_right):
      	(aligned_pos_show_hide_left):
      	(aligned_pos_class_init): Facilitate jumping to other side of
      	screen like the standard panel does
      
      	* panel-widget.c (push_applet_left): initialize variables to
      	NULL so gcc leaves us alone
      	(push_applet_right): same deal here
      
      	(now that I have the Blackbox GNOME winhint patch working...
      
      	* basep-widget.c (basep_widget_update_winhints): set the gnome
      	WM hints if available
      	(basep_widget_realize):
      	(basep_widget_explicit_hide):
      	(basep_widget_explicit_show):
      	(basep_widget_autohide):
      	(basep_widget_autohide): update the hints in the functions
      
      	* main.c (main): init win hints here
      
      	* panel-types.h: removed unused types
      
      1999-08-18  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* *.c: store config in ~/.gnome/panel.d/default/ instead of
      	~/.gnome/panel.d/Session-asd09n09sda/  (don't know if this is
      	done right though)
      
      	* *-widget.c: general fixes to clean up resizing when hidden
      
      1999-08-18  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* panel_config.c (update_config_back): fix stupid typo by me
      
      	* panel-widget.c (panel_widget_new): g_strdup (NULL) == NULL
      
      	* session.c (apply_global_config): call the new function
      
      	* basep-widget.c (basep_update_frame): added function so that
      	we can update the frame when we change preferences
      	(basep_back_change): call this function from here
      
      	* panel_config_global.c (misc_notebook_page): add a check box
      	for keeping buttons flush with the edge
      
      	* panel_config_global.h: added hide_panel_frame variable for
      	keeping buttons flush with the edge
      
      	* basep-widget.c (basep_back_change): only draw the frame if
      	we are no-color and not hide-frame
      36505594
  28. 06 Aug, 1999 1 commit
  29. 02 Jun, 1999 1 commit
    • Nat Friedman's avatar
      Guys, this is a recurrent problem. Only use g_return_if_fail and · 0191bb0d
      Nat Friedman authored
      g_return_val_if_fail for *preconditions*; they are not guaranteed to
      compile to code if the user disables debugging.  So don't use them as
      a shortcut for checking error conditions in the body of your
      function.
      
      1999-06-02  Nat Friedman  <nat@gnome-support.com>
      
              * applet-widget.c (pg_return_val_if_fail): Do not use glib
              g_return_val_if_fail, since that will compile to a NOP with
              debugging turned off.
      
              (pg_return_if_fail): Do not use g_return_if_fail.
      0191bb0d
  30. 30 May, 1999 1 commit
    • Jiri (George) Lebl's avatar
      enabled the size setting · e06aa829
      Jiri (George) Lebl authored
      Sat May 29 17:15:05 1999  George Lebl  <jirka@5z.com>
      
              * button-widget.c,session.c,drawer-widget.c,drawer.c,menu.c,
                launcher.c,logout.c,panel_config.c: enabled the size setting
      e06aa829
  31. 10 Apr, 1999 1 commit
    • Jiri (George) Lebl's avatar
      load desktops as unconditional to skip tryexec and empty exec tests, and · 64b87f46
      Jiri (George) Lebl authored
      Fri Apr 09 19:01:06 1999  George Lebl  <jirka@5z.com>
      
              * launcher.c: load desktops as unconditional to skip tryexec
                and empty exec tests, and set name to "???" if the user didn't
                set it to some string. This takes care of disappearing launchers
                upon realoading of the panel
      
              * menu.c: the properties should never be set sensitive for
                kde menus
      
      BTW: It doesn't compile .... KDE_MENUDIR is undefined? ... what is wrong
      there .... owen??? did you forget to commit something???
      -George
      64b87f46
  32. 15 Mar, 1999 2 commits