Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
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>
|
|
|
|
No caching, but it's lighter and doesn't misbehave (i.e. size-allocate loop).
|
|
--mode supports:
"dock" (usual panel behaviour)
"titlebar" (embed into Matchbox titlebar, not funtional at present)
"window" (normal window, for testing)
|
|
|
|
|
|
|
|
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.
|
|
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>
|
|
|
|
|
|
|
|
|
|
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2107 b067294f-1dea-0310-9683-c47a78595994
|
|
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
|
|
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
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2102 b067294f-1dea-0310-9683-c47a78595994
|
|
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
|
|
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel-2@2100 b067294f-1dea-0310-9683-c47a78595994
|
|
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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|