diff options
author | Fabien Broquard <[email protected]> | 2018-10-02 20:16:53 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2018-10-20 13:35:24 -0400 |
commit | 9bdd469392c4ae52f234b28ddd45615030167565 (patch) | |
tree | 4f7f35180dedd5c61f3bd426fbc44a5ebdaa8145 /applets/notification_area/testtray.c | |
parent | 3f351d5c959b81792ed5a20845bb871a66b2f87c (diff) | |
download | mate-panel-9bdd469392c4ae52f234b28ddd45615030167565.tar.bz2 mate-panel-9bdd469392c4ae52f234b28ddd45615030167565.tar.xz |
na-tray: wide panels, preliminary batch box to grid rename
box/Box/BOX changed to grid/Grid/GRID as a preliminary step
to prepare for changing GtkBox in na-box/na-grid to a GtkGrid
to make the notification area work well on vertical and wide panels
note: even if everything is renamed to grid, the GtkWidget is still a GtkBox
thats why GtkBox and GTK_TYPE_BOX have not been renamed.
Diffstat (limited to 'applets/notification_area/testtray.c')
-rw-r--r-- | applets/notification_area/testtray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/notification_area/testtray.c b/applets/notification_area/testtray.c index 80f8fba0..3f240ae0 100644 --- a/applets/notification_area/testtray.c +++ b/applets/notification_area/testtray.c @@ -30,7 +30,7 @@ #ifdef PROVIDE_WATCHER_SERVICE # include "libstatus-notifier-watcher/gf-status-notifier-watcher.h" #endif -#include "na-box.h" +#include "na-grid.h" #define NOTIFICATION_AREA_ICON "mate-panel-notification-area" @@ -181,7 +181,7 @@ create_tray_on_screen (GdkScreen *screen, gtk_label_set_yalign (GTK_LABEL (label), 0.5); gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0); - data->traybox = na_box_new (GTK_ORIENTATION_HORIZONTAL); + data->traybox = na_grid_new (GTK_ORIENTATION_HORIZONTAL); gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (data->traybox), TRUE, TRUE, 0); g_signal_connect_after (data->traybox, "add", G_CALLBACK (tray_added_cb), data); |