aboutsummaryrefslogtreecommitdiffstats
path: root/matchbox-panel
AgeCommit message (Collapse)Author
2016-07-13mb-panel: Remove leftover call from old ScalingImageJussi Kukkonen
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
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-25Fix a crash on startupJussi Kukkonen
2016-04-25scaling-image2: revised and slimmer scaling image implementationRoss Burton
No caching, but it's lighter and doesn't misbehave (i.e. size-allocate loop).
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-25scaling-image: port to GTK+ 3 APIRoss Burton
2016-04-25scaling-image: fix whitespaceRoss 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>
2013-07-08build: use git.mkRoss Burton
2013-06-17build: remove lies about gmodule-export's link argumentsRoss Burton
2012-12-22all: don't use sealed structs, bump GTK+ dependency to 2.18Ross Burton
2012-12-22all: only include gtk/gtk.hRoss Burton
2012-07-26build: use GNOME_COMPILE_WARNINGS to get sensible warning controlRoss Burton
2010-04-13Fix a double-tree in MbScalingImage (thanks Stanislav Brabec)ross
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2107 b067294f-1dea-0310-9683-c47a78595994
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
2009-05-072009-05-07 Ross Burton <ross@linux.intel.com>ross
* matchbox-panel/mb-panel-scaling-image.c: Fix bad format string (thanks Jackson Yee <jackson.yee@gmail.com>) git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2097 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
2008-02-212008-02-21 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel-scaling-image.c: Attempt to lookup an icon called panel-[name] before [name], so it can be themed. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1949 b067294f-1dea-0310-9683-c47a78595994
2008-02-122008-02-12 Ross Burton <ross@openedhand.com>ross
* matchbox-panel/mb-panel-scaling-image.c: Reload the icon on size allocation. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1912 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-06-122007-06-12 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel-scaling-image.c: (mb_panel_scaling_image_init), (mb_panel_scaling_image_set_property), (mb_panel_scaling_image_get_property), (mb_panel_scaling_image_dispose), (mb_panel_scaling_image_finalize), (reload_icon), (icon_theme_changed_cb), (mb_panel_scaling_image_realize), (mb_panel_scaling_image_unrealize), (mb_panel_scaling_image_screen_changed), (mb_panel_scaling_image_class_init), (mb_panel_scaling_image_new), (mb_panel_scaling_image_set_icon), (mb_panel_scaling_image_get_icon): * matchbox-panel/mb-panel-scaling-image.h: Added 'caching' property for caching undisplayed pixbufs. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1563 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-04-092007-04-09 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel-scaling-image.c: (mb_panel_scaling_image_init), (mb_panel_scaling_image_set_property), (mb_panel_scaling_image_get_property), (reload_icon), (mb_panel_scaling_image_class_init): * matchbox-panel/mb-panel-scaling-image.h: Add 'orientation' property. (Instead of determining orientation using black magic) * applets/battery/battery.c: (mb_panel_applet_create): * applets/launcher/launcher.c: (mb_panel_applet_create): Set orientation on icon. * applets/showdesktop/showdesktop.c: (show_desktop_applet_free), (sync), (screen_changed_cb), (button_clicked_cb), (mb_panel_applet_create): Change icon on state change instead of being a toggle button. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1507 b067294f-1dea-0310-9683-c47a78595994
2007-02-012007-02-01 Ross Burton <ross@openedhand.com>ross
* configure.ac: Use gmodule-export, as we export symbols. * matchbox-panel/Makefile.am: Add --export-dynamic as a Poky bug means gmodule-export doesn't have it. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1461 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-232006-08-23 Jorn Baayen <jorn@openedhand.com>jorn
* applets/battery/Makefile.am: * applets/battery/data/Makefile.am: * applets/clock/Makefile.am: * applets/launcher/Makefile.am: * applets/showdesktop/Makefile.am: * applets/systray/Makefile.am: * matchbox-panel/Makefile.am: Makefile cleanups. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1393 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-222006-08-22 Jorn Baayen <jorn@openedhand.com>jorn
* matchbox-panel/mb-panel-scaling-image.c: (find_icon), (reload_icon), (icon_theme_changed_cb), (mb_panel_scaling_image_screen_changed), (mb_panel_scaling_image_class_init), (mb_panel_scaling_image_new), (mb_panel_scaling_image_set_icon): Cleanup. git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1391 b067294f-1dea-0310-9683-c47a78595994
2006-08-222006-08-22 Jorn Baayen <jorn@openedhand.com>jorn
* applets/clock/clock.c: * applets/launcher/launcher.c: (mb_panel_applet_create): * applets/showdesktop/showdesktop.c: (mb_panel_applet_create): * matchbox-panel/Makefile.am: * matchbox-panel/mb-panel-scaling-image.c: * matchbox-panel/mb-panel-scaling-image.h: * matchbox-panel/mb-panel.h: Moved scaling icon theme icon logic into its own GtkImage subclass, and use this in the launcher and showdesktop applets. Don't look at MBPanelScalingImage yet or your eyes will burn! It still needs severe cleanup git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@1390 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