1. jjacky
  2. kalu


jjacky  committed 3c7cd8c

Add tooltip & update man page about the $PACKAGES for AUR command line

  • Participants
  • Parent commits ff941c3
  • Branches default

Comments (0)

Files changed (3)

File gui.c

View file
  • Ignore whitespace
 action_upgrade (NotifyNotification *notification, const char *action, gchar *_cmdline)
+    /* we need to strdup cmdline because it will be free-d when notification
+     * is destroyed, which won't happen until this function is done, however it
+     * could happen before the other thread (run_cmdline) starts ! */
     char *cmdline = (_cmdline) ? strdup (_cmdline) : NULL;
     notify_notification_close (notification, NULL);

File kalu.pod

View file
  • Ignore whitespace
 The command line to start when pressing the button "Update AUR packages" from the
+You can use B<$PACKAGES> in the command line, which will be replaced by the
+list of all packages for which an upgrade is available in the AUR.
 =item I<Do not check the AUR for the following packages>
 By default kalu determines the list of all foreign packages (i.e. not found

File preferences.c

View file
  • Ignore whitespace
     gtk_widget_show (label);
     aur_cmdline_entry = gtk_entry_new ();
+    gtk_widget_set_tooltip_markup (aur_cmdline_entry,
+        "You can use <b>$PACKAGES</b> to be replaced by the list of AUR packages "
+        "with upgrades available");
     if (config->cmdline_aur != NULL)
         gtk_entry_set_text (GTK_ENTRY (aur_cmdline_entry), config->cmdline_aur);