treewide: Remove icon size from constructors
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
@@ -224,8 +224,7 @@ update_time (CallsCallRecordRow *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gtk_image_set_from_icon_name (self->type,
|
gtk_image_set_from_icon_name (self->type,
|
||||||
get_call_icon_symbolic_name (inbound, !answered),
|
get_call_icon_symbolic_name (inbound, !answered));
|
||||||
GTK_ICON_SIZE_MENU);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -67,7 +67,7 @@ set_party (CallsCallSelectorItem *self)
|
|||||||
{
|
{
|
||||||
CuiCall *call;
|
CuiCall *call;
|
||||||
// FIXME: use AdwAvatar and the contact avatar
|
// FIXME: use AdwAvatar and the contact avatar
|
||||||
GtkWidget *image = gtk_image_new_from_icon_name ("avatar-default-symbolic", GTK_ICON_SIZE_DIALOG);
|
GtkWidget *image = gtk_image_new_from_icon_name ("avatar-default-symbolic");
|
||||||
|
|
||||||
gtk_box_pack_start (self->main_box, image, TRUE, TRUE, 0);
|
gtk_box_pack_start (self->main_box, image, TRUE, TRUE, 0);
|
||||||
gtk_widget_show (image);
|
gtk_widget_show (image);
|
||||||
|
@@ -36,7 +36,7 @@ insert_phonenumber (CallsContactsRow *self,
|
|||||||
const gchar *number)
|
const gchar *number)
|
||||||
{
|
{
|
||||||
GtkWidget *label = gtk_label_new (number);
|
GtkWidget *label = gtk_label_new (number);
|
||||||
GtkWidget *button = gtk_button_new_from_icon_name ("call-start-symbolic", GTK_ICON_SIZE_BUTTON);
|
GtkWidget *button = gtk_button_new_from_icon_name ("call-start-symbolic");
|
||||||
|
|
||||||
gtk_widget_set_halign (label, GTK_ALIGN_START);
|
gtk_widget_set_halign (label, GTK_ALIGN_START);
|
||||||
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
|
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
|
||||||
|
Reference in New Issue
Block a user