1. 06 Feb, 2002 1 commit
    • Jiri (George) Lebl's avatar
      set window icon · 75e962ee
      Jiri (George) Lebl authored
      Tue Feb 05 17:48:58 2002  George Lebl <jirka@5z.com>
      
      	* gnome-run.c: set window icon
      
      	* menu-util.c: remove the applets sub from the default menu flags
      
      	* menu.c: About box fixups, use a logo, add documentors, fix
      	  translation credits, and use the comment for the commie mode
      	  paragraph.  Use the standard defaults when adding a menu.
      	  When saving a ditem in the timeout, save the error and display
      	  it in an error dialog when we close the property window.
      	  Add more descriptive standard menu tooltips.  When there is
      	  no full menu name use the directory basename rather then "Menu".
      	  Translate the things from the bonobo server entry.  Use
      	  a lazy hash for category->icon lookups, and use untranslated
      	  category name to lookup icons.  Use standard panel error
      	  dialog api for 'only one foobar' dialog.
      
      	* panel-widget.c: unused var warning
      
      	* xstuff.c: fix possible race (I'm anal, perhaps it's not a race
      	  at all in fact, but it's not there anymore)
      75e962ee
  2. 24 Jan, 2002 1 commit
    • Jiri (George) Lebl's avatar
      Make sure menus appear within xinerama boundaries. Those that don't like · c16f5c6a
      Jiri (George) Lebl authored
      Wed Jan 23 18:20:13 2002  George Lebl <jirka@5z.com>
      
      	* menu.[ch], menu-util.c, applet.c, foobar-widget.c:  Make sure
      	  menus appear within xinerama boundaries.  Those that don't like
      	  menu.c style of coding should NOT look at this code.  But it
      	  works.
      
      	* multiscreen-stuff.c: reorder the screens in the fake debugging
      	  setup.
      
      	* basep-widget.c: fix screen_change signal signature
      
      	* foobar-widget.c: add some corners.  Yay we half look like a mac
      	  now.  Now if we could only get bottom corners as well.  Maybe
      	  in time.
      c16f5c6a
  3. 15 Jan, 2002 1 commit
  4. 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
  5. 09 Dec, 2001 2 commits
    • Jiri (George) Lebl's avatar
      initial crack at porting the tasklist thing to libwnck, reenable the clock · 8c84cb93
      Jiri (George) Lebl authored
      Sun Dec 09 03:25:13 2001  George Lebl <jirka@5z.com>
      
      	* foobar-widget.c, menu-util.[ch]: initial crack at porting the
      	  tasklist thing to libwnck, reenable the clock menu thing, use main
      	  menu stuff for the "applications" menu so that we can get a KDE
      	  and/or distribution submenu and remove some dead code
      
      	* menu.[ch], foobar-widget.c, menu-fentry.h: whack the title flags
      	  from things.  Menu titles are long dead
      
      	* applet.c: also launch nautilus for edit menus
      8c84cb93
    • Jiri (George) Lebl's avatar
      Remove favourites menu. It is useless with the current push towards · dca5c0b6
      Jiri (George) Lebl authored
      Sat Dec 08 23:16:39 2001  George Lebl <jirka@5z.com>
      
      	* menu.[ch], menu-fentry.h, menu-util.c, menu-properties.c,
      	  session.c, main.c, gnome-run.c:  Remove favourites menu.  It is
      	  useless with the current push towards editable menus.  Also instead
      	  of running gedit, run nautilus on programs:/ as a menu editor.
      
      	* panel-widget.c: fix warning.
      
      	* applet.c, foobar-widget.c: use gtk image menu items instead of
      	  normal items where appropriate.
      dca5c0b6
  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. 09 Nov, 2001 1 commit
    • 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
  8. 08 Nov, 2001 2 commits
  9. 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
  10. 09 Oct, 2001 1 commit
    • Mark McLoughlin's avatar
      remove. · 6fc77ba5
      Mark McLoughlin authored
      2001-10-09  Mark McLoughlin <mark@skynet.ie>
      
              * panel-include.h: remove.
      
              * *.c, *.h: don't include panel-include.h. Include the
              actual required headers. Give automatic dependancy
              generation a chance.
      
              * aligned-widget.c (aligned_pos_class_init): use proper
              enum def instead of GTK_TYPE_ENUM.
                basep-widget.c (basep_widget_class_init): ditto.
                border-widget.c (border_pos_class_init): ditto.
                panel-widget.c (panel_widget_class_init): ditto.
                sliding-widget.c (sliding_pos_class_init): ditto.
      
              * Makefile.am: only generate the enums we actually
              want. Also don't include panel-include.h from
              panel-typebuiltins.c - include the required headers.
      6fc77ba5
  11. 08 Oct, 2001 2 commits
    • Mark McLoughlin's avatar
      get popup menu working. panel.c (panel_event): ditto. menu.c · fc851ff3
      Mark McLoughlin authored
      2001-10-08  Mark McLoughlin <mark@skynet.ie>
      
              * applet.c (show_applet_menu): get popup menu working.
                panel.c (panel_event): ditto.
                menu.c (menu_button_pressed): ditto.
      
              * menu.c (create_menu_at_fr): fix core dump.
              (make_add_submenu): ditto.
      
              * menu-util.h, menu-util.c (applet_menu_position): add
              new push_in param for gtk_menu_popup callbacks.
              (panel_menu_position): ditto.
              (get_default_menu_flags): make not const - it calls a
              non-const function.
      fc851ff3
    • 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
  12. 20 Sep, 2001 1 commit
    • Jiri (George) Lebl's avatar
      Do some DesktopItem porting, remove some FIXMEs · 1e3749d3
      Jiri (George) Lebl authored
      Thu Sep 20 15:17:33 2001  George Lebl <jirka@5z.com>
      
      	* launcher.c, swallow.c: Do some DesktopItem porting, remove some
      	  FIXMEs
      
      	* *.[ch], panel-util.[ch]: whack panel_file_exists and
      	  panel_is_program_in_path, since those are now nice and working
      	  in the libs.
      1e3749d3
  13. 17 Aug, 2001 1 commit
  14. 12 Aug, 2001 1 commit
  15. 09 Aug, 2001 1 commit
  16. 06 Aug, 2001 1 commit
  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. 25 Feb, 2001 1 commit
  19. 31 Dec, 2000 1 commit
  20. 28 Nov, 2000 1 commit
    • Jiri (George) Lebl's avatar
      Check for try execs on menu reread so that we notice newly installed · d61b40d9
      Jiri (George) Lebl authored
      Tue Nov 28 00:45:55 2000  George Lebl <jirka@5z.com>
      
      	* applet.c, distribution.c, foobar-widget.c, gnome-run.c,
      	  launcher.c, main.c, menu-fentry.[ch], panel-util.[ch],
      	  menu-properties.c, menu-rh.c, menu-util.c, menu.c,
      	  panel-widget.c, panel.c, session.c, swallow.c:  Check for
      	  try execs on menu reread so that we notice newly installed
      	  software.  Might have to make this whole checking thing an
      	  option for people on slower machines.  Also put in routines
      	  stolen from gnome-libs head for checking for programs and file
      	  existance as they are faster.
      d61b40d9
  21. 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
  22. 22 Jul, 2000 1 commit
    • Martin Baulig's avatar
      Improved handling of distribution specific menus. · f68fc88d
      Martin Baulig authored
      2000-04-24  Martin Baulig  <baulig@suse.de>
      
      	Improved handling of distribution specific menus.
      
      	Rather than providing code for RH and Debian menus, we now
      	have some generic "distribution menu" code - all customizing
      	is done in a `DistributionInfo' array in distribution.c.
      
      	This makes it very easy for distribution vendors to add a
      	custom menu for their distribution (like the already existent
      	AnotherLevel and Debian menus) with a about-10-line-change
      	in a single source file.
      
      	* distribution.h: New file.
      	(DistributionType): Contains all possible Linux distributions.
      	(DistributionInfo): New struct type containing info about
      	distribution specific menus.
      
      	* distribution.c: New file.
      	(get_distribution): New global function; returns the current
      	Linux distribution as a `DistributionType'.
      	(get_distribution_info): New global global function; takes a
      	`DistributionType' argument and returns a `DistributionInfo *',
      	this struct contains information about distribution specific
      	menus.
      
      	* menu.h (MAIN_MENU_REDHAT): Renamed to `MAIN_MENU_DISTRIBUTION'.
      	(MAIN_MENU_REDHAT_SUB): Renamed to `MAIN_MENU_DISTRIBUTION_SUB'.
      	(MAIN_MENU_DEBIAN, MAIN_MENU_DEBIAN_SUB): Removed (replaced with
      	`MAIN_MENU_OBSOLETE_DEBIAN' and `MAIN_MENU_OBSOLETE_DEBIAN_SUB'
      	for compatibility with old config files).
      	(DEBIAN_MENUDIR): Removed.
      
      	* session.c (init_user_applets): Use the new distribution menu
      	rather than the old RH and Debian menus.
      
      	* panel.c (drop_menu): Don't check for "/etc/X11/wmconfig" etc.,
      	but use the new get_distribution () function to get the
      	current distribution.
      
      	* menu.c (init_menus): Use the new get_distribution () function
      	and run the `distribution_info->menu_init_func' hook if it
      	exists.
      	(setup_menuitem_try_pixmap): Allow the "try_file" to be NULL.
      	(create_distribution_menu): New function. This replaces the
      	old create_debian_menu () function but is now distribution
      	independent.
      	(create_debian_menu): Removed.
      	(create_root_menu): Use the new distribution menus.
      f68fc88d
  23. 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
  24. 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
  25. 23 Jan, 2000 1 commit
    • Jiri (George) Lebl's avatar
      use KDEDIR to try to find kde, only then use what was passed on the · 6e6d4c3e
      Jiri (George) Lebl authored
      Sun Jan 23 15:37:01 2000  George Lebl <jirka@5z.com>
      
      	* main.c,menu.c,menu-util.c,session.c,panel.c: use KDEDIR to try
      	  to find kde, only then use what was passed on the configure command
      	  line and try several other standard prefixes to try to find it,
      	  if not always just fallback to the configure option.
      6e6d4c3e
  26. 11 Jan, 2000 1 commit
    • Jacob Berkman's avatar
      when menu_flags changes destroy all of the panel's menus · ef62b370
      Jacob Berkman authored
      2000-01-10  Jacob Berkman  <jacob@helixcode.com>
      
      	* session.c (apply_global_config): when menu_flags changes
      	destroy all of the panel's menus
      	(load_default_applets1): get default menu flags from
      	get_default_menu_flags()  (duh)
      	(load_up_globals): load the panel menu flags
      
      	* panel_config_global.h: add menu_flags field
      
      	* panel.c (make_popup_panel_menu): don't try to disable
      	the remove panel menu item
      
      	* menu.c (remove_panel): try to remove a panel.  we have to
      	do this in a function since we have sticky menus
      	(create_panel_root_menu): use create_root_menu() since we have
      	configurable global menu flagsnow
      	(make_panel_submenu): add the 'remove this panel' menu item
      	(create_panel_submenu): put 'About GNOME' here for now...
      	(create_desktop_menu): ...instead of here
      	(create_root_menu): some restructuring
      
      	* menu-util.c (get_default_menu_flags): figure out which
      	flags should be set by default in menus
      
      	* menu-util.h: declare get_default_menu_flags ()
      
      	* menu-properties.c (add_menu_type_options): remove obsoleted
      	sanity check
      
      	* gnome-run.c (show_run_dialog): add the pixmaps back, and
      	make the entry wider
      
      	* gnome-panel-properties.c: #include "menu.h"
      	(sync_menu_page_with_config): support for menu page
      	right click/menu button menu
      	(sync_config_with_menu_page): ditto
      	(add_menu_options): ditto
      	(menu_notebook_page): add page for configuring the
      	(sync_config_with_misc_page): remove menu frame support
      	(sync_config_with_misc_page): ditto
      	(misc_notebook_page): move the menu frame to the menu tab
      	(loadup_vals): change the default menu back to what it used to
      	be, for the most part
      	(write_config): save menu_flags
      	(try): support for menu tab
      	(revert): ditto
      	(setup_the_ui): ditto again
      
      	* button-widget.c (make_lc_pixbuf): scale by .85 instead of .9
      ef62b370
  27. 11 Oct, 1999 1 commit
  28. 02 Sep, 1999 1 commit