Changeset 211:20bd4c58bdca in mediastreamer2
- Timestamp:
- Dec 30, 2008 11:29:22 AM (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/gtk-glade/main.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/gtk-glade/main.c
r210 r211 40 40 #endif 41 41 42 #define LINPHONE_ICON "linphone2.png" 42 43 43 44 static LinphoneCore *the_core=NULL; … … 627 628 628 629 static void linphone_gtk_init_status_icon(){ 629 GdkPixbuf *pbuf=create_pixbuf("linphone2.png"); 630 const char *icon_path=linphone_gtk_get_ui_config("icon",LINPHONE_ICON); 631 GdkPixbuf *pbuf=create_pixbuf(icon_path); 630 632 GtkWidget *menu=create_icon_menu(); 631 633 const char *title; … … 694 696 static const char *title; 695 697 static const char *home; 698 static const char *icon_path; 696 699 GtkWidget *w=linphone_gtk_get_main_window(); 697 700 if (!config_loaded){ … … 699 702 title=linphone_gtk_get_ui_config("title",NULL); 700 703 home=linphone_gtk_get_ui_config("home","http://www.linphone.org"); 704 icon_path=linphone_gtk_get_ui_config("icon",NULL); 701 705 config_loaded=TRUE; 702 706 } 703 707 if (show_digits==0) gtk_widget_hide(linphone_gtk_get_widget(w,"dialpad")); 704 708 if (title) gtk_window_set_title(GTK_WINDOW(w),title); 709 if (icon_path) { 710 GdkPixbuf *pbuf=create_pixbuf(icon_path); 711 gtk_window_set_icon(GTK_WINDOW(w),pbuf); 712 g_object_unref(G_OBJECT(pbuf)); 713 } 705 714 if (home){ 706 715 gchar *tmp;
Note: See TracChangeset
for help on using the changeset viewer.
