[Xfce4-commits] <xfce4-mixer:master> Set the main window to normal rather than dialog type (bug #7623)

Guido Berhoerster noreply at xfce.org
Thu Sep 27 16:46:17 CEST 2012


Updating branch refs/heads/master
         to 3e0def60db29746e501586d36d33ea305540a2e8 (commit)
       from 117ff721b989bcf8cd8e0fbeaa692c14c1ecf5ef (commit)

commit 3e0def60db29746e501586d36d33ea305540a2e8
Author: Guido Berhoerster <guido+xfce at berhoerster.name>
Date:   Thu Sep 27 16:31:08 2012 +0200

    Set the main window to normal rather than dialog type (bug #7623)

 NEWS                            |    1 +
 xfce4-mixer/xfce-mixer-window.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 400ccdd..59ff72e 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,7 @@
 - Do not use deprecated APIs and adjust requirements to Xfce 4.10.
 - Add global keyboard shortcuts for raising and lowering the volume as well as
   muting (bug #5314).
+- Set the main window to normal rather than dialog type (bug #7623).
 
 
 4.8.0
diff --git a/xfce4-mixer/xfce-mixer-window.c b/xfce4-mixer/xfce-mixer-window.c
index 85ffe04..11ecf1d 100644
--- a/xfce4-mixer/xfce-mixer-window.c
+++ b/xfce4-mixer/xfce-mixer-window.c
@@ -163,6 +163,7 @@ xfce_mixer_window_init (XfceMixerWindow *window)
   g_object_get (window->preferences, "window-width", &width, "window-height", &height, "sound-card", &active_card, NULL);
 
   /* Configure the main window */
+  gtk_window_set_type_hint (GTK_WINDOW (window), GDK_WINDOW_TYPE_HINT_NORMAL);
   gtk_window_set_icon_name (GTK_WINDOW (window), "multimedia-volume-control");
   gtk_window_set_title (GTK_WINDOW (window), _("Audio Mixer"));
   gtk_window_set_default_size (GTK_WINDOW (window), width, height);


More information about the Xfce4-commits mailing list