ekiga r6724 - in trunk: . src/gui
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6724 - in trunk: . src/gui
- Date: Thu, 28 Aug 2008 20:44:01 +0000 (UTC)
Author: dsandras
Date: Thu Aug 28 20:44:01 2008
New Revision: 6724
URL: http://svn.gnome.org/viewvc/ekiga?rev=6724&view=rev
Log:
Added icon to incoming call dialog and change the title to indicate
the incoming call as suggested by _Raptor_ on IRC.
Modified:
trunk/ChangeLog
trunk/src/gui/main.cpp
Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp (original)
+++ trunk/src/gui/main.cpp Thu Aug 28 20:44:01 2008
@@ -3639,6 +3639,8 @@
{
GmMainWindow *mw = NULL;
+ GdkPixbuf *pixbuf = NULL;
+
GtkWidget *label = NULL;
GtkWidget *vbox = NULL;
GtkWidget *b1 = NULL;
@@ -3676,6 +3678,12 @@
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
g_free (msg);
+ pixbuf = gtk_widget_render_icon (GTK_WIDGET (incoming_call_popup),
+ GM_STOCK_PHONE_PICK_UP_16,
+ GTK_ICON_SIZE_MENU, NULL);
+ gtk_window_set_icon (GTK_WINDOW (incoming_call_popup), pixbuf);
+ g_object_unref (pixbuf);
+
if (utf8_url) {
label = gtk_label_new (NULL);
@@ -3701,8 +3709,9 @@
g_free (msg);
}
-
- gtk_window_set_title (GTK_WINDOW (incoming_call_popup), utf8_name);
+ msg = g_strdup_printf (_("Call from %s"), (const char*) utf8_name);
+ gtk_window_set_title (GTK_WINDOW (incoming_call_popup), msg);
+ g_free (msg);
gtk_window_set_modal (GTK_WINDOW (incoming_call_popup), TRUE);
gtk_window_set_keep_above (GTK_WINDOW (incoming_call_popup), TRUE);
gtk_window_set_urgency_hint (GTK_WINDOW (main_window), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]