aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2004-08-08 15:40:46 +0000
committermallum <mallum@b067294f-1dea-0310-9683-c47a78595994>2004-08-08 15:40:46 +0000
commita537bcede0156bb4baa5e3f3aeda7abdf936f14f (patch)
tree6a91532f7a9ae63f8ee70e923d988e48f70d7c4b /src
parentb35f5898893c9ceccac124437eed224f98706ec7 (diff)
downloadmatchbox-panel-a537bcede0156bb4baa5e3f3aeda7abdf936f14f.tar.gz
matchbox-panel-a537bcede0156bb4baa5e3f3aeda7abdf936f14f.tar.bz2
matchbox-panel-a537bcede0156bb4baa5e3f3aeda7abdf936f14f.zip
Add support for panelMsgFont
git-svn-id: https://svn.o-hand.com/repos/matchbox/trunk/matchbox-panel@828 b067294f-1dea-0310-9683-c47a78595994
Diffstat (limited to 'src')
-rw-r--r--src/panel.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/panel.c b/src/panel.c
index 0bd6408..b00a7a6 100644
--- a/src/panel.c
+++ b/src/panel.c
@@ -84,7 +84,6 @@ panel_xsettings_notify_cb (const char *name,
*/
DBG("%s() setting XSET_GTK_FONT: '%s'\n", __func__,
setting->data.v_string);
- /* mb_menu_set_font (panel->mbmenu, setting->data.v_string); */
mb_font_set_from_string(panel->msg_font, setting->data.v_string);
}
@@ -586,6 +585,10 @@ panel_set_theme_from_root_prop(MBPanel *panel)
}
+ if (mb_dotdesktop_get(theme, "PanelMsgFont"))
+ mb_font_set_from_string(panel->msg_font,
+ mb_dotdesktop_get(theme, "PanelMsgFont"));
+
if (mb_dotdesktop_get(theme, "PanelMsgBgCol"))
util_xcol_from_spec(panel, panel->msg_col,
mb_dotdesktop_get(theme, "PanelMsgBgCol"));