! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
lock/quit buttons switched
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Jani Monoses 2006-03-09 20:57:12 CET
in quit/lock view in the action plugin the actions were bound to the wrong image
or the other way around :)

Index: plugins/actions/actions.c
===================================================================
--- plugins/actions/actions.c   (revision 20306)
+++ plugins/actions/actions.c   (working copy)
@@ -128,11 +128,11 @@
     switch (action->type)
     {
         case ACTION_QUIT_LOCK:
-            pb = actions_load_icon (ACTION_QUIT, width);
+            pb = actions_load_icon (ACTION_LOCK, width);
             gtk_image_set_from_pixbuf (GTK_IMAGE (action->image1), pb);
             g_object_unref (pb);

-            pb = actions_load_icon (ACTION_LOCK, width);
+            pb = actions_load_icon (ACTION_QUIT, width);
             gtk_image_set_from_pixbuf (GTK_IMAGE (action->image2), pb);
             g_object_unref (pb);


Reproducible: Always
Steps to Reproduce:
1. 
2. 
3.
Comment 1 Jasper Huijsmans editbugs 2006-03-11 11:10:23 CET
Hehe, oops. small mixup ;-) Thanks.

Bug #1561

Reported by:
Jani Monoses
Reported on: 2006-03-09
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information