Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
c0eb1661
Commit
c0eb1661
authored
Feb 06, 2013
by
Margaux Clerc
Browse files
Add dialer pixmap
parent
0e31c3a9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
12 deletions
+8
-12
gtk/main.c
gtk/main.c
+5
-11
gtk/main.ui
gtk/main.ui
+2
-1
pixmaps/Makefile.am
pixmaps/Makefile.am
+1
-0
pixmaps/dialer.png
pixmaps/dialer.png
+0
-0
No files found.
gtk/main.c
View file @
c0eb1661
...
...
@@ -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"
));
}
...
...
gtk/main.ui
View file @
c0eb1661
...
...
@@ -982,11 +982,12 @@
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"
dial
pad"
>
<object
class=
"GtkButton"
id=
"
key
pad"
>
<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>
...
...
pixmaps/Makefile.am
View file @
c0eb1661
...
...
@@ -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)
pixmaps/dialer.png
0 → 100644
View file @
c0eb1661
3.66 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment