mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
Try to avoid flashing when moving the rename widget.
2002-10-01 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-icon-container.c: Try to avoid flashing when moving the rename widget.
This commit is contained in:
parent
16a6ad223a
commit
3fa3cfe91a
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-10-01 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* libnautilus-private/nautilus-icon-container.c:
|
||||
Try to avoid flashing when moving the rename widget.
|
||||
|
||||
2002-09-30 Narayana Pattipati <narayana.pattipati@wipro.com>
|
||||
|
||||
* src/file-manager/fm-desktop-icon-view.c: Unescape the media path so
|
||||
|
|
|
@ -5025,12 +5025,12 @@ nautilus_icon_container_start_renaming_selected_item (NautilusIconContainer *con
|
|||
pixels_per_unit = EEL_CANVAS_ITEM (icon->item)->canvas->pixels_per_unit;
|
||||
x = eel_round((icon_rect.x0 + icon_rect.x1) * pixels_per_unit / 2) - width / 2;
|
||||
|
||||
gtk_widget_show (details->rename_widget);
|
||||
gtk_layout_move (GTK_LAYOUT (container),
|
||||
details->rename_widget,
|
||||
x, eel_round (icon_rect.y1 * pixels_per_unit));
|
||||
gtk_widget_set_size_request (details->rename_widget,
|
||||
width, -1);
|
||||
gtk_widget_show (details->rename_widget);
|
||||
eel_editable_label_set_text (EEL_EDITABLE_LABEL (details->rename_widget),
|
||||
editable_text);
|
||||
gtk_widget_grab_focus (details->rename_widget);
|
||||
|
|
Loading…
Reference in a new issue