]> Dogcows Code - chaz/openbox/commitdiff
couple more xrdb theme format cleanups:
authorDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 07:12:58 +0000 (07:12 +0000)
committerDana Jansens <danakj@orodu.net>
Mon, 1 Sep 2003 07:12:58 +0000 (07:12 +0000)
window.focus.font -> window.label.focus.font
window.unfocus.font -> window.label.unfocus.font
window.justify -> window.label.justify
menu.frame.* -> menu.items.*
menu.hilite.* -> menu.selected.*
*.picColor -> *.imageColor

openbox/popup.c

index d44a59d162c0415d38dc80e3904b58a269d17c41..ac8ef700e99032cf953b03306e3d6b5ded43faa9 100644 (file)
@@ -97,7 +97,7 @@ void popup_size_to_string(Popup *self, gchar *text)
     gint iconw;
 
     if (!self->a_text)
-        self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label);
+        self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label);
 
     self->a_text->texture[0].data.text.string = text;
     RrMinsize(self->a_text, &textw, &texth);
@@ -112,7 +112,7 @@ void popup_size_to_string(Popup *self, gchar *text)
 void popup_set_text_align(Popup *self, RrJustify align)
 {
     if (!self->a_text)
-        self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label);
+        self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label);
 
     self->a_text->texture[0].data.text.justify = align;
 }
@@ -125,11 +125,11 @@ void popup_show(Popup *self, gchar *text, ObClientIcon *icon)
 
     /* create the shit if needed */
     if (!self->a_bg)
-        self->a_bg = RrAppearanceCopy(ob_rr_theme->app_hilite_bg);
+        self->a_bg = RrAppearanceCopy(ob_rr_theme->app_selected_bg);
     if (self->hasicon && !self->a_icon)
         self->a_icon = RrAppearanceCopy(ob_rr_theme->a_clear_tex);
     if (!self->a_text)
-        self->a_text = RrAppearanceCopy(ob_rr_theme->app_hilite_label);
+        self->a_text = RrAppearanceCopy(ob_rr_theme->app_selected_label);
 
     XSetWindowBorderWidth(ob_display, self->bg, ob_rr_theme->bwidth);
     XSetWindowBorder(ob_display, self->bg, ob_rr_theme->b_color->pixel);
This page took 0.026682 seconds and 4 git commands to generate.