Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cool Fire
hexchat
Commits
1468d35d
Commit
1468d35d
authored
Nov 10, 2012
by
Berke Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't minimize/close to tray via plugin-tray when HexTray is available
parent
48888326
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/fe-gtk/maingui.c
src/fe-gtk/maingui.c
+2
-2
No files found.
src/fe-gtk/maingui.c
View file @
1468d35d
...
...
@@ -504,7 +504,7 @@ mg_windowstate_cb (GtkWindow *wid, GdkEventWindowState *event, gpointer userdata
if
((
event
->
changed_mask
&
GDK_WINDOW_STATE_ICONIFIED
)
&&
(
event
->
new_window_state
&
GDK_WINDOW_STATE_ICONIFIED
)
&&
prefs
.
hex_gui_tray_minimize
)
prefs
.
hex_gui_tray_minimize
&&
!
hextray_mode
()
)
{
tray_toggle_visibility
(
TRUE
);
gtk_window_deiconify
(
wid
);
...
...
@@ -3074,7 +3074,7 @@ mg_tabwindow_de_cb (GtkWidget *widget, GdkEvent *event, gpointer user_data)
GSList
*
list
;
session
*
sess
;
if
(
prefs
.
hex_gui_tray_close
&&
tray_
toggle_visibility
(
FALSE
))
if
(
tray_toggle_visibility
(
FALSE
)
&&
prefs
.
hex_gui_tray_close
&&
!
hex
tray_
mode
(
))
return
TRUE
;
/* check for remaining toplevel windows */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment