You are not logged in.
Pages: 1
I used to remove the popup delay and hidden size in XFCE Panels via .gtkrc-2.0; Can anybody help me out with porting it to GTK3 settings?
For reference, my .gtkrc-2.0 had this:
style "xfce-panel-window-style"
{
XfcePanelWindow::popup-delay = 1
XfcePanelWindow::popdown-delay = 1
XfcePanelWindow::autohide-size = 1
}
class "XfcePanelWindow" style "xfce-panel-window-style"
Thanks for any help.
Offline
For what it's worth, I couldn't find how to set per-application settings in GTK3 (only per-application style via CSS) so I patched up xfce4-panel directly. I'm on Gentoo so patching the sources takes less time than learning about GTK3's internals.
If anyone's on a source-based distro and wants to patch theirs:
diff --git a/panel/panel-window.c b/panel/panel-window.c
index a90da2d5..239529b3 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -60,9 +60,9 @@
#define SNAP_DISTANCE (10)
#define SET_OLD_WM_STRUTS (FALSE)
-#define DEFAULT_POPUP_DELAY (225)
-#define DEFAULT_POPDOWN_DELAY (350)
-#define DEFAULT_ATUOHIDE_SIZE (3)
+#define DEFAULT_POPUP_DELAY (1)
+#define DEFAULT_POPDOWN_DELAY (1)
+#define DEFAULT_ATUOHIDE_SIZE (1)
#define HANDLE_SPACING (4)
#define HANDLE_DOTS (2)
#define HANDLE_PIXELS (2)
Offline
Pages: 1
[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 516.59 KiB (Peak: 531.37 KiB) ]