Commit c0eb1661 authored by Margaux Clerc's avatar Margaux Clerc
Browse files

Add dialer pixmap

parent 0e31c3a9
......@@ -1559,19 +1559,13 @@ static void linphone_gtk_configure_main_window(){
}
*/
}
/*{
GdkPixbuf *pbuf=create_pixbuf("dialer-orange.png");
{
GdkPixbuf *pbuf=create_pixbuf("dialer.png");
if (pbuf) {
GtkImage *img=GTK_IMAGE(linphone_gtk_get_widget(w,"keypad_tab_icon"));
int w,h;
GdkPixbuf *scaled;
gtk_icon_size_lookup(GTK_ICON_SIZE_MENU,&w,&h);
scaled=gdk_pixbuf_scale_simple(pbuf,w,h,GDK_INTERP_BILINEAR);
gtk_image_set_from_pixbuf(img,scaled);
g_object_unref(G_OBJECT(scaled));
g_object_unref(G_OBJECT(pbuf));
GtkButton *button=GTK_BUTTON(linphone_gtk_get_widget(w,"keypad"));
gtk_button_set_image(button,gtk_image_new_from_pixbuf (pbuf));
}
}*/
}
if (linphone_gtk_can_manage_accounts()) {
gtk_widget_show(linphone_gtk_get_widget(w,"assistant_item"));
}
......
......@@ -982,11 +982,12 @@
</packing>
</child>
<child>
<object class="GtkButton" id="dialpad">
<object class="GtkButton" id="keypad">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<signal name="clicked" handler="linphone_gtk_create_keypad" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
......
......@@ -18,6 +18,7 @@ startcall-green.png startcall-small.png stopcall-red.png stopcall-small.png addc
contact_starred.png contact_unstarred.png \
speaker.png \
ok.png \
dialer.png \
notok.png
EXTRA_DIST=$(pixmap_DATA)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment