[Xfce4-commits] [xfce/xfdesktop] 03/05: Tweak window list menu

noreply at xfce.org noreply at xfce.org
Wed Feb 18 17:21:24 CET 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 8d82abf408e37b14c9191c2b5be39bac6fb4da8d
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Tue Feb 17 23:26:23 2015 +0100

    Tweak window list menu
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/windowlist.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/windowlist.c b/src/windowlist.c
index 12e8989..e915718 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -166,8 +166,8 @@ menu_item_from_wnck_window(WnckWindow *wnck_window, gint icon_width,
     g_free(title);
 
     if(wnck_window_is_active(wnck_window)) {
-        g_string_prepend(label, "<i>");
-        g_string_append(label, "</i>");
+        g_string_prepend(label, "<b><i>");
+        g_string_append(label, "</i></b>");
     }
 
     if(wl_show_icons) {
@@ -278,7 +278,7 @@ windowlist_populate(XfceDesktop *desktop,
             label = gtk_bin_get_child(GTK_BIN(mi));
             gtk_label_set_use_markup(GTK_LABEL(label), TRUE);
             /* center the workspace header */
-            gtk_misc_set_alignment(GTK_MISC(label), 0.4f, 0);
+            gtk_misc_set_alignment(GTK_MISC(label), 0.44f, 0);
             /* If it's not the active workspace, make the color insensitive */
             if(wnck_workspace != active_workspace)
             {
@@ -343,7 +343,7 @@ windowlist_populate(XfceDesktop *desktop,
                     G_CALLBACK(mi_destroyed_cb), wnck_window);
         }
         
-        if(!wl_submenus && (i < nworkspaces-1 || wl_add_remove_options )) {
+        if(!wl_submenus && (i < nworkspaces-1 || wl_add_remove_options)) {
             mi = gtk_separator_menu_item_new();
             gtk_widget_show(mi);
             gtk_menu_shell_append(GTK_MENU_SHELL(submenu), mi);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list