mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
Add dialer pixmap
This commit is contained in:
parent
0e31c3a918
commit
c0eb16613f
4 changed files with 8 additions and 12 deletions
16
gtk/main.c
16
gtk/main.c
|
|
@ -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)
|
||||
|
|
|
|||
BIN
pixmaps/dialer.png
Normal file
BIN
pixmaps/dialer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
Loading…
Add table
Reference in a new issue