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

Guido Berhoerster noreply at xfce.org
Fri Sep 21 17:18:19 CEST 2012


Updating branch refs/heads/gber/improvements
         to 0e3a152d919a492a84972dab0ab82ca89ba085ea (commit)
       from 55c863fed1600579a886104029e86dfd25964b1e (commit)

commit 0e3a152d919a492a84972dab0ab82ca89ba085ea
Author: Guido Berhoerster <guido+xfce at berhoerster.name>
Date:   Fri Sep 21 12:00:36 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