sound-juicer r2180 - in branches/gnome-2-22: . data src
- From: rburton svn gnome org
- To: svn-commits-list gnome org
- Subject: sound-juicer r2180 - in branches/gnome-2-22: . data src
- Date: Wed, 14 May 2008 20:58:00 +0100 (BST)
Author: rburton
Date: Wed May 14 19:58:00 2008
New Revision: 2180
URL: http://svn.gnome.org/viewvc/sound-juicer?rev=2180&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:
branches/gnome-2-22/ChangeLog
branches/gnome-2-22/data/sound-juicer.glade
branches/gnome-2-22/src/sj-main.c
Modified: branches/gnome-2-22/data/sound-juicer.glade
==============================================================================
--- branches/gnome-2-22/data/sound-juicer.glade (original)
+++ branches/gnome-2-22/data/sound-juicer.glade Wed May 14 19:58:00 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: branches/gnome-2-22/src/sj-main.c
==============================================================================
--- branches/gnome-2-22/src/sj-main.c (original)
+++ branches/gnome-2-22/src/sj-main.c Wed May 14 19:58:00 2008
@@ -76,7 +76,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;
@@ -402,9 +402,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);
@@ -451,7 +449,7 @@
on_submit_activate (NULL, NULL);
}
- set_message_area (message_area_vbox, NULL);
+ set_message_area (message_area_eventbox, NULL);
}
/**
@@ -490,7 +488,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);
@@ -561,7 +559,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",
@@ -1680,7 +1678,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]