1. 17 Dec, 2001 1 commit
    • Glynn Foster's avatar
      Makefile.am, floating-widget.c, foobar-widget.c, gnome-run.c, main.c, · 8d685023
      Glynn Foster authored
      2001-12-17  Glynn Foster  <glynn.foster@sun.com>
      
      	* Makefile.am, floating-widget.c, foobar-widget.c,
      	* gnome-run.c, main.c, main.h, menu.c, nothing.cP,
      	* nothing.h, panel-gconf.c, panel-gconf.h,
      	* panel-per-panel-config.schemas, session.c, session.h,
      	* tearoffitem.c:
      
      	This patch will upset quite a lot of people. The move towards
      	gconf and profiles Part I "Oh What a Tangled Web we Weave". Please
      	don't look at the code, it's horrible. Basically we now have a
      	default schema for small, medium and large screens. The panel will
      	in future take a --profile option to load a profile. For now, applet
      	inits don't work, panel inits are taken from the 'small' profile. Don't
      	file bugs about panel not saving, we know.
      8d685023
  2. 12 Dec, 2001 1 commit
    • Mark McLoughlin's avatar
      Bit of renaming for Glynn. · f0c41103
      Mark McLoughlin authored
      2001-12-12  Mark McLoughlin  <mark@skynet.ie>
      
              Bit of renaming for Glynn.
      
              * panel_config.c: rename to panel-config.c
              * panel_config.h: rename to panel-config.h
              * panel_config_global.h: rename to panel-config-global.h
              * panelglobalconfig.schemas: rename to
                panel-global-config.schemas
      
              * Makefile.am, aligned-widget.c, applet.c, basep-widget.c,
                border-widget.c, button-widget.c, drawer-widget.c, drawer.c,
                drawer.h, edge-widget.c, extern.c, floating-widget.c,
                foobar-widget.c, global-keys.c, launcher.c, logout.c,
                main.c, menu-fentry.c, menu-util.c, menu.c, panel-config.c,
                panel-util.c, panel.c, session.c, sliding-widget.c:
              update.
      f0c41103
  3. 05 Dec, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Remove the avoid on maximize configuration crack. It was just pure crack. · 89d57ee2
      Jiri (George) Lebl authored
      Wed Dec 05 13:36:43 2001  George Lebl <jirka@5z.com>
      
      	* aligned-widget.[ch], basep-widget.[ch],
      	  border-widget.[ch], drawer-widget.[ch],
      	  edge-widget.[ch], floating-widget.[ch],
      	  drawer.c, menu.c, panel_config.[ch],
      	  session.c, sliding-widget.[ch]:  Remove the avoid
      	  on maximize configuration crack.  It was just pure
      	  crack.  With WM_STRUT we should be mostly sane
      	  on this issue anyway.
      
      	* basep-widget.[ch]: whack some of the old hint stuff
      	  and make user the update_winhints virtual method
      	  is called
      
      	* applet.c: fix warning.
      
      	* xstuff.[ch]: add some api for atom interning, that
      	  caches atoms per display, and be in general more
      	  multiple display safe.  Also use X atoms only and
      	  not GdkAtoms.  Also implement checking for _NET
      	  standard being supported.  We'll screw the old
      	  gnome hitns and just have two states:  _NET
      	  supported or completely dumb WM (use override
      	  redirect).  Add a WM_STRUT setting function (not
      	  yet actually used.
      89d57ee2
  4. 01 Dec, 2001 1 commit
  5. 23 Nov, 2001 1 commit
    • Glynn Foster's avatar
      Monkey work. Some more unstructured gtk_signal to g_signal porting. I · cde453bd
      Glynn Foster authored
      2001-11-23  Glynn Foster  <glynn.foster@sun.com>
      
      	* aligned-widget.c, basep-widget.c, border-widget.c,
      	  button-widget.c, drawer-widget.c, edge-widget.c,
      	  floating-widget.c, panel-marshal.list:
      
      	Monkey work. Some more unstructured gtk_signal to g_signal
      	porting. I should be doing the gconf stuff, but I've got
      	a hangover.
      cde453bd
  6. 18 Nov, 2001 1 commit
    • Glynn Foster's avatar
      * basep-widget.c: * basep-widget.h: * button-widget.c: * drawer-widget.c: · dd29fa3c
      Glynn Foster authored
      2001-11-18  Glynn Foster  <glynn.foster@sun.com>
      
      	* applet.c: * basep-widget.c: * basep-widget.h: * button-widget.c:
      	* button-widget.h: * drawer-widget.c: * drawer-widget.h:
      	* drawer.c: * edge-widget.c: * edge-widget.h: * floating-widget.c:
      	* floating-widget.h: * foobar-widget.c: * foobar-widget.h: * launcher.c:
      	* logout.c: * main.c: * menu-util.c: * menu.c: * multiscreen-stuff.c:
      	* panel-applet-frame.c: * panel-widget.c: * panel-widget.h: * panel.c:
      	* panel_config.c: * session.c: * sliding-widget.c: * sliding-widget.h:
      
      	Finish off moving GtkType to GType and give a more consistant approach
      	to all the header stuff.
      dd29fa3c
  7. 16 Nov, 2001 1 commit
    • Mark McLoughlin's avatar
      s/runBox/displayRunDialog/ (PanelAppletShell): new interface. · 6acc58fc
      Mark McLoughlin authored
      2001-11-16  Mark McLoughlin  <mark@skynet.ie>
      
              * GNOME_Panel.idl:
              (PanelShell): s/runBox/displayRunDialog/
              (PanelAppletShell): new interface.
      
      2001-11-16  Mark McLoughlin  <mark@skynet.ie>
      
              Note: this won't build without the patch to
                    glib-mkenums attached to #64714
      
              * panel-applet-frame.[ch]:
              (panel_applet_frame_load): renamed from
              panel_bonobo_applet_load.
              (panel_applet_frame_change_orient): impl.
              (panel_applet_frame_get_applet_shell): impl.
              (panel_applet_frame_construct): get applet shell.
      
              * panel-applet.[ch]:
              (panel_applet_change_orient): impl.
              (panel_applet_class_init): add "change_orient" signal.
              (panel_applet_instance_init): set default orient.
              (panel_applet_construct): instantiate an applet shell.
      
              * panel-applet-shell.[ch], panel-applet-private.h:
              implementation of PanelAppletShell.
      
              * panel-marshal.list: add VOID:ENUM.
      
              * panel-shell.c: s/runBox/displayRunDialog/.
      
              * panel.c: (orientation_change): do bonobo applet
              orient change.
      
              * test-bonobo-applet.c: handle orient change and give an
              example of how applet tooltips should be done with the new
              api.
      
              * Makefile.am: add marshalers and enums to applet sources.
              Generate enums from GNOME_Panel.h.
      6acc58fc
  8. 08 Nov, 2001 1 commit
    • Mark McLoughlin's avatar
      update gconf key names. · 20720e11
      Mark McLoughlin authored
      2001-11-08  Mark McLoughlin  <mark@skynet.ie>
      
              * basep-widget.c: (basep_pos_get_hide_size),
              (basep_pos_get_hide_pos), (basep_widget_do_hiding),
              (basep_widget_do_showing), (basep_widget_explicit_hide),
              (basep_widget_explicit_show), (basep_widget_autoshow),
              (basep_widget_queue_autoshow), (basep_widget_autohide),
              (basep_widget_queue_autohide): update gconf key names.
      
              * floating-widget.c: (floating_pos_get_hide_size),
              (floating_pos_get_hide_pos): ditto.
      20720e11
  9. 07 Nov, 2001 1 commit
    • Glynn Foster's avatar
      More property stuff...mostly dumb stuff though. · 5d19b3c6
      Glynn Foster authored
      2001-11-07  Glynn Foster  <glynn.foster@sun.com>
      
      	* Makefile.am, basep-widget.c, floating-widget.c, panel-gconf.c,
      	 panel-gconf.h, panel_config_global.h, session.c, session.h:
      
      	More property stuff...mostly dumb stuff though.
      5d19b3c6
  10. 05 Nov, 2001 1 commit
    • Glynn Foster's avatar
      More work getting the global properties into shape. Removed the option to · 589ea55d
      Glynn Foster authored
      2001-11-05  Glynn Foster  <glynn.foster@sun.com>
      
      	* Makefile.am, basep-widget.c, border-widget.c,
      	  floating-widget.c, foobar-widget.c, gnome-panel-properties.c,
      	  main.c, main.h, menu.c, panel-gconf.c, panel-gconf.h, panel-widget.c,
      	  panel-widget.h, panel_config_global.h, panelglobalconfig.schema,
      	  session.c, tearoffitem.c: More work getting the global properties into
      	  shape. Removed the option to have the movement type in the capplet - these
      	  are now a keybinding only - according to usability happiness. Also moved
      	  basep, basepos over to gobject a little bit more. Added the startings of
      	  a wrapper around gconf stuff for panel config.
      589ea55d
  11. 01 Nov, 2001 1 commit
    • Glynn Foster's avatar
      * basep-widget.c: * basep-widget.h: * border-widget.h: * button-widget.c: · 22e29803
      Glynn Foster authored
      2001-11-01  Glynn Foster  <glynn.foster@sun.com>
      
      	* applet.c: * basep-widget.c: * basep-widget.h:
      	* border-widget.c: * border-widget.h: * button-widget.c:
      	* conditional.c: * conditional.h: * drawer-widget.c:
      	* drawer-widget.h: * drawer.c: * extern.c: * floating-widget.c:
      	* floating-widget.h: * foobar-widget.c: * global-keys.c:
      	* menu-util.c: * menu.c: * multiscreen-stuff.c: * panel.c:
      	* panel_config.h: * session.c: * xstuff.c:
      
      	Start shifting stuff slowly over towards a more GObject approach and
      	making things a little bit more consistant with the type defs.
      
      	Completely dumb commit really - just changing names and just a small
      	part of the bigger picture.
      22e29803
  12. 08 Oct, 2001 1 commit
    • Mark McLoughlin's avatar
      warn if we can't find applets menu directory. (create_root_menu): only · 190e7aed
      Mark McLoughlin authored
      2001-10-08  Mark McLoughlin <mark@skynet.ie>
      
              * menu.c (create_applets_menu): warn if we can't find applets
              menu directory.
              (create_root_menu): only setup an applets menuitem if we have
              managed to create an applets menu.
      
              * foobar-widget.c (foobar_widget_init): init foo->tasks.
      
              * logout.c, main.c, menu-properties.c, menu-util.c, menu.c,
                panel-util.c, panel.c, session.c, sliding-widget.c,
                status.c, aligned-widget.c, applet.c, basep-widget.c,
                drawer.c, extern.c, global-keys.c, gnome-run.c, swallow.c,
                launcher.c: remove unused extern defs.
      190e7aed
  13. 21 Sep, 2001 1 commit
    • Jiri (George) Lebl's avatar
      use GType for types · ea6b6d31
      Jiri (George) Lebl authored
      Fri Sep 21 01:40:50 2001  George Lebl <jirka@5z.com>
      
      	* *.[ch]: use GType for types
      
      	* extern.c, gnome-run.c, launcher.[ch]: do more ditem porting
      ea6b6d31
  14. 08 Aug, 2001 1 commit
  15. 06 Aug, 2001 1 commit
    • Martin Baulig's avatar
      Merged the basic GTK+ 2.0 port from the GNOME20. · 821680a8
      Martin Baulig authored
      2001-08-06  Martin Baulig  <baulig@suse.de>
      
      	* aligned-widget.c, applet-widget.c, border-widget.c,
      	button-widget.c, floating-widget.c, gnome-panel-screenshot.c,
      	main.c, panel-widget.c, sliding-widget.c, status-docklet.c:
      	Merged the basic GTK+ 2.0 port from the GNOME20.
      821680a8
  16. 18 May, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Add the screen parameter to the change params and new functions, and load · 39b90421
      Jiri (George) Lebl authored
      Fri May 18 02:44:47 2001  George Lebl <jirka@5z.com>
      
      	* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
      	  drawer-widget.c, edge-widget.[ch], floating-widget.[ch],
      	  foobar-widget.[ch], menu.c, multiscreen-stuff.[ch],
      	  panel_config.[ch], session.c, sliding-widget.[ch]: Add the
      	  screen parameter to the change params and new functions, and load
      	  and save it.  Also multiscreenize the foobar a bit.
      39b90421
  17. 13 May, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Further multiscreenization, floating and drawer correctly multiscreenized · 7e0e4977
      Jiri (George) Lebl authored
      Sat May 12 19:22:39 2001  George Lebl <jirka@5z.com>
      
      	* aligned-widget.c, basep-widget.[ch], sliding-widget.c,
      	  multiscree-stuff.[ch], edge-widget.c, border-widget.c,
      	  floating-widget.c, menu.c, menu-util.c, panel.c, drawer-widget.c:
      	  Further multiscreenization, floating and drawer correctly
      	  multiscreenized and dragging of panels between screens working,
      	  menus fixed for clamping on offset screens
      
      	* foobar-widget.c: warning fix
      
      	* menu.c: Add tooltips to some items
      7e0e4977
  18. 19 Apr, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Begin on multiscreen stuff. Currently just trying to get the screen size · 9665d2dc
      Jiri (George) Lebl authored
      Thu Apr 19 15:58:19 2001  George Lebl <jirka@5z.com>
      
      	* multiscreen-stuff.[ch], foobar-widget.[ch], main.c,
      	  basep-widget.[ch], edge-widget.c, aligned-widget.c,
      	  Makefile.am, floating-widget.c, menu.c, scroll-menu.[ch],
      	  sliding-widget.c:  Begin on multiscreen stuff.  Currently
      	  just trying to get the screen size and position abstraction
      	  happening, just the very beginnings.  However it still works
      	  just like before as right now it always inits to one large
      	  screen.
      
      	* button-widget.c:  Fix the overlay window geometry calculation
      	  near panel edge
      
      	* foobar-widget.c:  Apparently users got utterly confused as to what
      	  the flower meant and most thought it was a fried egg.  So I changed
      	  it to the gnome foot as it servers a similar purpose as the main
      	  menu on a normal panel so it's more consistent.
      9665d2dc
  19. 10 Mar, 2001 1 commit
  20. 25 Feb, 2001 1 commit
    • Jiri (George) Lebl's avatar
      use hidebutton requisition rather then allocation, as that's not really · 87d9904d
      Jiri (George) Lebl authored
      Sat Feb 24 19:26:42 2001  George Lebl <jirka@5z.com>
      
      	* basep-widget.c, floating-widget.c, panel-util.[ch],
      	  sliding-widget.c:  use hidebutton requisition rather then
      	  allocation, as that's not really available yet sometimes.
      
      	* floating-widget.c: Fixed #7552, autohiding floating panel
      	  without hidebuttons needs to use the autohide size.  Limit hidden
      	  size to 3 pixels, as 1 would make it impossible to manipulate.
      87d9904d
  21. 18 Feb, 2001 1 commit
  22. 16 Feb, 2001 1 commit
  23. 09 Feb, 2001 1 commit
    • Jiri (George) Lebl's avatar
      remember the position of the click offsets for panel moving, so that · d8d89b93
      Jiri (George) Lebl authored
      Thu Feb 08 23:29:26 2001  George Lebl <jirka@5z.com>
      
      	* basep-widget.[ch], panel.c, floating-widget.c, sliding-widget.c:
      	  remember the position of the click offsets for panel moving, so
      	  that moving floating and sliding panels is more natural, that is
      	  it holds onto the same point on the panel rather then moving when
      	  over the edge which felt too weird.  Also simplifies the code a
      	  bit.
      d8d89b93
  24. 19 Dec, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Implement avoid on maximize thing as a property of a panel, and implement · 83f2c791
      Jiri (George) Lebl authored
      Tue Dec 19 01:32:56 2000  George Lebl <jirka@5z.com>
      
      	* aligned-widget.[ch], basep-widget.[ch], border-widget.[ch],
      	  drawer-widget.[ch], drawer.c, edge-widget.[ch],
      	  floating-widget.[ch], menu.c, panel.c, panel_config.[ch],
      	  session.c, sliding-widget.[ch]:  Implement avoid on maximize
      	  thing as a property of a panel, and implement per panel ability
      	  to set layering (or use the default).  Also fix updating of
      	  hidebutton properties on the dialog if they are changed from
      	  the menu.
      
      	* gnome-panel-properties.c, session.c:  Fix default layering
      	  properties.  Also fix some fragmented senteces and layout
      	  issues as pointed out by Karl Eichwalder <keichwa@gmx.net>
      83f2c791
  25. 03 Sep, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Make distribution menus api cache the results to avoid continual statting · 028b24c6
      Jiri (George) Lebl authored
      Sat Sep 02 19:19:08 2000  George Lebl <jirka@5z.com>
      
      	* distribution.[ch], menu*.c:  Make distribution menus api cache the
      	  results to avoid continual statting of version files (how often
      	  does a user change from one distro to another while keeping the
      	  panel running?).  Fix some remaking function to use the correct
      	  distribution_info and fix a crash when distribution menus got
      	  turned on on an unknown distribution system
      
      	* *.[ch]:  make type macros be more consistent in naming, all the
      	  _get_type functions are G_GNUC_CONST functions now also the
      	  function to get default menu flags is G_GNUC_CONST
      028b24c6
  26. 16 Mar, 2000 1 commit
    • Jacob Berkman's avatar
      autohide towards the nearer edge of the screen · 7d257e9f
      Jacob Berkman authored
      2000-03-16  Jacob Berkman  <jacob@helixcode.com>
      
              * floating-widget.c (floating_pos_get_hide_orient): autohide
              towards the nearer edge of the screen
      
      2000-03-14  Jacob Berkman  <jacob@helixcode.com>
      
              * menu-util.c (applet_menu_position): don't let the menu go off the
              screen for a foobar
              (panel_menu_position): ditto
      
              * foobar-widget.c: remove gdk-bufmap reference
      7d257e9f
  27. 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
  28. 27 Feb, 2000 1 commit
  29. 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
  30. 03 Jan, 2000 1 commit
  31. 30 Dec, 1999 1 commit
    • Jiri (George) Lebl's avatar
      send orientation changes to children on size allocate of drawer and · 13cce2cf
      Jiri (George) Lebl authored
      Wed Dec 29 20:48:59 1999  George Lebl <jirka@5z.com>
      
      	* drawer.c,panel.c: send orientation changes to children on size
      	  allocate of drawer and floating widget
      
      	* floating-widget.c,drawer-widget.c: use correct orientation
      	  depending on the position of the widget on screen, so that we
      	  always point towards the center of the screen.
      
      	* panel.c,extern.c: be a bit gentler with orientation changes and
      	  don't issue orientation changes for extern and status unless
      	  orientation really changed.
      13cce2cf
  32. 26 Oct, 1999 2 commits
  33. 24 Oct, 1999 1 commit
    • Jiri (George) Lebl's avatar
      changed sizes to be pixel based, and added pixel_size stuff to applets, · 6ece7181
      Jiri (George) Lebl authored
      Sun Oct 24 16:55:37 1999  George Lebl  <jirka@5z.com>
      
              * {panel,aligned,sliding,edge,floating,border,button,applet}-widget.[ch],
                panel-types.h, panel.c, panel_config.[ch], session.c, status.h:
                changed sizes to be pixel based, and added pixel_size stuff to
                applets, while preserving compatiblity with the current scheme
      
              * session.c: don't complain when we can't remove config file for
                extern applet as it might in fact not be there
      6ece7181
  34. 22 Oct, 1999 1 commit
    • Jacob Berkman's avatar
      floating config sync stuff · 79fd14ab
      Jacob Berkman authored
      999-10-22  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      * panel.c: floating config sync stuff
      
      * menu.c: enabled conversion to/from floating widget,
      fixed config sync stuff
      
      * floating-widget.[ch] (floating_widget_change_coords):
      add a _change_coords() function
      79fd14ab
  35. 27 Aug, 1999 2 commits
    • Jacob Berkman's avatar
      fixed moving-while-right-hidden · 98785d53
      Jacob Berkman authored
      1999-08-27  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* floating-widget.c (floating_pos_set_pos): fixed
      	moving-while-right-hidden
      98785d53
    • Jacob Berkman's avatar
      added floating-widget.[ch] · 8645f4bb
      Jacob Berkman authored
      1999-08-27  Jacob Berkman  <jberkman@andrew.cmu.edu>
      
      	* Makefile.am (base_panel_SOURCES): added
      	floating-widget.[ch]
      
      	* floating-widget.[ch]: new files which implement a
      	floating panel.  Not complete, but works except for
      	moving right-hidden panels.  Will fix after sleep/class.
      
      	* menu.c (create_new_panel): create floating panels
      	here
      
      	* panel.c (panel_setup): support the floating panel
      	(panel_event): ditto
      
      	* session.c (init_user_panels): load a floating panel...
      	(save_panel_configuration): save a floating panel
      
      	* border-widget.c (border_pos_class_init): removed stale
      	code
      	(border_pos_realize): removed snice the hints are setup
      	in basep-widget.c
      
      	* drawer-widget.c (drawer_pos_realize): removed since the
      	hints are set up elsewhere now
      	(drawer_pos_class_init): removed some stale code
      8645f4bb