sound-juicer r2179 - in trunk: . data src
- From: rburton svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2179 - in trunk: . data src
- Date: Wed, 14 May 2008 20:56:24 +0100 (BST)
Author: rburton
Date: Wed May 14 19:56:24 2008
New Revision: 2179
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2179&view=rev
Log:
2008-05-14 Ross Burton <ross burtonini com>
* data/sound-juicer.glade:
* src/sj-main.c:
Fix display problems with the notification by putting it inside an
event box (#512231, thanks Pekka Vuorela)
Modified:
trunk/ChangeLog
trunk/data/sound-juicer.glade
trunk/src/sj-main.c
Modified: trunk/data/sound-juicer.glade
==============================================================================
--- trunk/data/sound-juicer.glade (original)
+++ trunk/data/sound-juicer.glade Wed May 14 19:56:24 2008
@@ -234,7 +234,7 @@
</packing>
</child>
<child>
- <widget class="GtkVBox" id="message_area_vbox">
+ <widget class="GtkEventBox" id="message_area_eventbox">
<property name="visible">True</property>
<child>
<placeholder/>
Modified: trunk/src/sj-main.c
==============================================================================
--- trunk/src/sj-main.c (original)
+++ trunk/src/sj-main.c Wed May 14 19:56:24 2008
@@ -75,7 +75,7 @@
GConfClient *gconf_client;
GtkWidget *main_window;
-static GtkWidget *message_area_vbox;
+static GtkWidget *message_area_eventbox;
static GtkWidget *title_entry, *artist_entry, *duration_label, *genre_entry, *year_entry, *disc_number_entry;
static GtkWidget *track_listview, *extract_button, *play_button;
static GtkWidget *status_bar;
@@ -401,9 +401,7 @@
if (message_area == NULL)
return;
- gtk_box_pack_start (GTK_BOX (container),
- current_message_area,
- FALSE, FALSE, 0);
+ gtk_container_add (GTK_CONTAINER (container), message_area);
g_object_add_weak_pointer (G_OBJECT (current_message_area),
(gpointer)¤t_message_area);
@@ -450,7 +448,7 @@
on_submit_activate (NULL, NULL);
}
- set_message_area (message_area_vbox, NULL);
+ set_message_area (message_area_eventbox, NULL);
}
/**
@@ -489,7 +487,7 @@
gtk_widget_set_sensitive (next_menuitem, FALSE);
set_duplication (FALSE);
- set_message_area (message_area_vbox, NULL);
+ set_message_area (message_area_eventbox, NULL);
} else {
gtk_list_store_clear (track_store);
@@ -560,7 +558,7 @@
message_area = musicbrainz_submit_message_area_new (album->title, album->artist);
- set_message_area (message_area_vbox, message_area);
+ set_message_area (message_area_eventbox, message_area);
g_signal_connect (message_area,
"response",
@@ -1670,7 +1668,7 @@
glade_xml_signal_autoconnect (glade);
main_window = glade_xml_get_widget (glade, "main_window");
- message_area_vbox = glade_xml_get_widget (glade, "message_area_vbox");
+ message_area_eventbox = glade_xml_get_widget (glade, "message_area_eventbox");
select_all_menuitem = glade_xml_get_widget (glade, "select_all");
deselect_all_menuitem = glade_xml_get_widget (glade, "deselect_all");
submit_menuitem = glade_xml_get_widget (glade, "submit");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]