aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox-panel/mb-panel.c
AgeCommit message (Collapse)Author
2016-04-28mb-panel: size request needs to be set before realizeJussi Kukkonen
GtkWindow will default to 200 height on realize unless we request otherwise before that. On the other hand, struts can only be set after the window has been realized. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
2016-04-25mb-panel: replace --titlebar with --modeRoss Burton
--mode supports: "dock" (usual panel behaviour) "titlebar" (embed into Matchbox titlebar, not funtional at present) "window" (normal window, for testing)
2016-04-25mb-panel: allow resizing, but hide the gripRoss Burton
2016-04-25mb-panel: port to GTK+3Ross Burton
Whilst porting to GTK+ 3 the layout model was simplified: panels are always full-width and you just pick an edge and size. The panel is also multi-screen and multi-monitor aware now.
2013-09-26mb-panel: handle consecutive separatorsRoss Burton
Consecutive separators results in empty strings and NULLs being passed to load_applet() which produces warnings, so handle these cases. Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-12-22all: only include gtk/gtk.hRoss Burton
2010-03-05added --fullscreen optiontf
Maintain panel stretched over the entire screen in dominant direction. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2104 b067294f-1dea-0310-9683-c47a78595994
2010-03-04Added --center-horizontally and --center-vertically optionstf
These allow panel to be centered regardless of the screen size. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2103 b067294f-1dea-0310-9683-c47a78595994
2010-03-04Ensure that right/bottom alligned panel remains so if screen size changestf
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2102 b067294f-1dea-0310-9683-c47a78595994
2010-03-04Added --reserve-extra-width and --reserve-extra-height optionstf
These allow extra width/height to be reserved in additon to the actual panel window width/height in the panel struts. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2101 b067294f-1dea-0310-9683-c47a78595994
2010-03-04removed trailing spacetf
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2100 b067294f-1dea-0310-9683-c47a78595994
2010-03-04Use _NET_WM_STRUT_PARTIAL instead of _NET_WM_STRUTtf
Since the --geometry option allows the panel to be arbitrary width / height we need to use partial struts. This commit also fixes a bug in the strut calculation if the panel is not positioned at the top/left of the screen git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2099 b067294f-1dea-0310-9683-c47a78595994
2008-09-302008-09-30 Ross Burton <ross@linux.intel.com>ross
* matchbox-panel/mb-panel.c: Very basic implementation of _NET_WM_STRUTS, so that window managers know where the panels are. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2086 b067294f-1dea-0310-9683-c47a78595994
2008-09-252008-09-25 Ross Burton <ross@linux.intel.com>ross
* matchbox-panel/mb-panel.c: By default make the panel fill the width of the screen. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2082 b067294f-1dea-0310-9683-c47a78595994
2008-06-202008-06-20 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel.c: Don't stat the plugin before opening it, as open will stat it again. Also lazy-load symbols for performance. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2061 b067294f-1dea-0310-9683-c47a78595994
2007-12-132007-12-13 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel.c: Fix stupid mistake in previous commit which removed an atom. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1864 b067294f-1dea-0310-9683-c47a78595994
2007-11-282007-11-28 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel.c: Intern the atoms in a single call instead of many calls. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1844 b067294f-1dea-0310-9683-c47a78595994
2007-11-282007-11-28 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel.c: Mark more strings for translation, include config.h, and fix indentation. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1843 b067294f-1dea-0310-9683-c47a78595994
2007-07-112007-07-11 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel.c: (load_applets): Padding to 4. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1590 b067294f-1dea-0310-9683-c47a78595994
2007-07-052007-07-05 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel.c: (load_applets): Pack applets with a padding of 3 pixels. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1587 b067294f-1dea-0310-9683-c47a78595994
2007-07-052007-07-05 Matthew Allum <mallum@openedhand.com>mallum
* matchbox-panel/mb-panel.c: Request not to receive key focus on panel window. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1585 b067294f-1dea-0310-9683-c47a78595994
2007-04-112007-04-11 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel.c: (main): Name frame depending on orientation. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1514 b067294f-1dea-0310-9683-c47a78595994
2007-04-102007-04-10 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel.c: (main): Replace alignment with frame for padding. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1513 b067294f-1dea-0310-9683-c47a78595994
2007-04-102007-04-10 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel.c: (load_applet), (main): Fix indent. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1512 b067294f-1dea-0310-9683-c47a78595994
2007-04-102007-04-10 Matthew Allum <mallum@openedhand.com>mallum
* matchbox-panel/mb-panel.c: Add some default padding to panel edges. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1508 b067294f-1dea-0310-9683-c47a78595994
2007-01-232007-01-23 Matthew Allum <mallum@openedhand.com>mallum
* applets/showdesktop/showdesktop.c: Use a 'simpler' named icon and dont draw a frame around it. * matchbox-panel/mb-panel.c: Be a bit more informative when an applet cant be loaded. (via mickeyl) git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1440 b067294f-1dea-0310-9683-c47a78595994
2006-12-222006-12-22 Matthew Allum <mallum@openedhand.com>mallum
* matchbox-panel/mb-panel.c: Add support for being parented in titlebar. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1434 b067294f-1dea-0310-9683-c47a78595994
2006-08-222006-08-22 Jorn Baayen <jorn@openedhand.com>jorn
* applets/battery/battery.c: (timeout), (mb_panel_applet_create): * applets/clock/clock.c: (initial_timeout), (mb_panel_applet_create): * applets/launcher/launcher.c: (grab_notify_cb), (mb_panel_applet_create): * applets/showdesktop/showdesktop.c: (button_toggled_cb), (mb_panel_applet_create): * applets/systray/systray.c: (screen_changed_cb), (mb_panel_applet_create): * matchbox-panel/mb-panel-scaling-image.c: (reload_icon), (mb_panel_scaling_image_class_init), (mb_panel_scaling_image_set_icon): * matchbox-panel/mb-panel.c: (load_applet), (load_applets), (main): * matchbox-panel/mb-panel.h: Better size handling. No more manual sizing of applets needed. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1392 b067294f-1dea-0310-9683-c47a78595994
2006-08-192006-08-19 Jorn Baayen <jorn@openedhand.com>jorn
* COPYING: * applets/clock.c: * applets/launcher.c: * matchbox-panel/mb-panel.c: * matchbox-panel/mb-panel.h: License as GPL. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1383 b067294f-1dea-0310-9683-c47a78595994
2006-08-182006-08-18 Jorn Baayen <jorn@openedhand.com>jorn
* applets/clock.c: (mb_panel_applet_create): * applets/launcher.c: (mb_panel_applet_create): * matchbox-panel/mb-panel.c: (main): Name widgets, so that they can be themed. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1379 b067294f-1dea-0310-9683-c47a78595994
2006-08-182006-08-18 Jorn Baayen <jorn@openedhand.com>jorn
* autogen.sh: Remove gtkdocize. * matchbox-panel/mb-panel.c: (main): --geometry overrides child size requests. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1377 b067294f-1dea-0310-9683-c47a78595994
2006-08-17import matchbox-panel-2jorn
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1376 b067294f-1dea-0310-9683-c47a78595994