[Xfce4-commits] <parole:master> Make windows properly decorated
Sean Davis
noreply at xfce.org
Fri Oct 11 11:52:39 CEST 2013
Updating branch refs/heads/master
to 8cff83fe9f4f16721e4c55352b94032bfb738c46 (commit)
from 830ad1ab377d3d09fa65449c72e8d8073b784d63 (commit)
commit 8cff83fe9f4f16721e4c55352b94032bfb738c46
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Sep 22 09:07:35 2013 -0400
Make windows properly decorated
data/interfaces/mediachooser.ui | 1 +
data/interfaces/save-playlist.ui | 2 ++
src/parole-player.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/data/interfaces/mediachooser.ui b/data/interfaces/mediachooser.ui
index 6185dd0..d6a5288 100644
--- a/data/interfaces/mediachooser.ui
+++ b/data/interfaces/mediachooser.ui
@@ -5,6 +5,7 @@
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Open Media Files</property>
+ <property name="icon_name">parole</property>
<property name="modal">True</property>
<property name="default_width">640</property>
<property name="default_height">480</property>
diff --git a/data/interfaces/save-playlist.ui b/data/interfaces/save-playlist.ui
index 259fabe..cd8338b 100644
--- a/data/interfaces/save-playlist.ui
+++ b/data/interfaces/save-playlist.ui
@@ -4,6 +4,8 @@
<object class="GtkFileChooserDialog" id="filechooserdialog">
<property name="can_focus">False</property>
<property name="border_width">5</property>
+ <property name="title" translatable="yes">Save Playlist as…</property>
+ <property name="icon_name">parole</property>
<property name="role">GtkFileChooserDialog</property>
<property name="window_position">center-on-parent</property>
<property name="type_hint">dialog</property>
diff --git a/src/parole-player.c b/src/parole-player.c
index e588c7d..b1f1a5f 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -974,6 +974,7 @@ parole_player_select_custom_subtitle (GtkMenuItem *widget, gpointer data)
GTK_FILE_CHOOSER_ACTION_OPEN,
NULL,
NULL);
+ gtk_window_set_icon_name(GTK_WINDOW(chooser), "parole");
button = gtk_dialog_add_button(GTK_DIALOG(chooser), _("Cancel"), GTK_RESPONSE_CANCEL);
img = gtk_image_new_from_icon_name("gtk-cancel", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image(GTK_BUTTON(button), img);
More information about the Xfce4-commits
mailing list